mirror of
https://github.com/OMGeeky/google-apis-rs.git
synced 2026-01-05 11:06:05 +01:00
chore(code-update): upgrade to latest hyper+clap
This commit is contained in:
@@ -17,13 +17,13 @@ keywords = ["taskqueue", "google", "cli"]
|
||||
name = "taskqueue1-beta2"
|
||||
|
||||
[dependencies]
|
||||
hyper = ">= 0.6.0"
|
||||
hyper = ">= 0.6.4"
|
||||
mime = "0.0.12"
|
||||
serde = ">= 0.4.1"
|
||||
yup-oauth2 = "*"
|
||||
strsim = "*"
|
||||
yup-hyper-mock = ">=1.0.0"
|
||||
clap = ">= 0.9.1"
|
||||
clap = ">= 1.0.3"
|
||||
|
||||
[build-dependencies]
|
||||
syntex = { version = "*" }
|
||||
|
||||
@@ -1033,10 +1033,10 @@ fn main() {
|
||||
.takes_value(false));
|
||||
|
||||
for &(main_command_name, ref about, ref subcommands) in arg_data.iter() {
|
||||
let mut mcmd = SubCommand::new(main_command_name).about(about);
|
||||
let mut mcmd = SubCommand::with_name(main_command_name).about(about);
|
||||
|
||||
for &(sub_command_name, ref desc, url_info, ref args) in subcommands {
|
||||
let mut scmd = SubCommand::new(sub_command_name);
|
||||
let mut scmd = SubCommand::with_name(sub_command_name);
|
||||
if let &Some(desc) = desc {
|
||||
scmd = scmd.about(desc);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user