You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
externcrate clap;use clap::{App,AppSettings};fnmain(){let m = App::new("test").setting(AppSettings::TrailingVarArg).arg_from_usage("<command>... 'some feature'").get_matches();for c in m.values_of("command").unwrap(){println!("{}", c);}println!("len: {}", m.values_of("command").unwrap().collect::<Vec<_>>().len());}
Running with
$ test ""
len: 0
The text was updated successfully, but these errors were encountered:
Running with
The text was updated successfully, but these errors were encountered: