Lines Matching refs:from_usage

40     pub fn from_usage(usage: &'a str) -> Self {  in from_usage()  method
240 let a = Arg::from_usage("[flag] -f 'some help info'"); in create_flag_usage()
249 let b = Arg::from_usage("[flag] --flag 'some help info'"); in create_flag_usage()
258 let b = Arg::from_usage("--flag 'some help info'"); in create_flag_usage()
267 let c = Arg::from_usage("[flag] -f --flag 'some help info'"); in create_flag_usage()
276 let d = Arg::from_usage("[flag] -f... 'some help info'"); in create_flag_usage()
285 let e = Arg::from_usage("[flag] -f --flag... 'some help info'"); in create_flag_usage()
294 let e = Arg::from_usage("-f --flag... 'some help info'"); in create_flag_usage()
303 let e = Arg::from_usage("--flags"); in create_flag_usage()
309 let e = Arg::from_usage("--flags..."); in create_flag_usage()
316 let e = Arg::from_usage("[flags] -f"); in create_flag_usage()
322 let e = Arg::from_usage("[flags] -f..."); in create_flag_usage()
329 let a = Arg::from_usage("-f 'some help info'"); in create_flag_usage()
338 let e = Arg::from_usage("-f"); in create_flag_usage()
344 let e = Arg::from_usage("-f..."); in create_flag_usage()
355 let a = Arg::from_usage("[option] -o [opt] 'some help info'"); in create_option_usage0()
372 let b = Arg::from_usage("-o [opt] 'some help info'"); in create_option_usage1()
389 let c = Arg::from_usage("<option> -o <opt> 'some help info'"); in create_option_usage2()
406 let d = Arg::from_usage("-o <opt> 'some help info'"); in create_option_usage3()
423 let a = Arg::from_usage("[option] -o [opt]... 'some help info'"); in create_option_usage4()
440 let a = Arg::from_usage("[option]... -o [opt] 'some help info'"); in create_option_usage5()
457 let b = Arg::from_usage("-o [opt]... 'some help info'"); in create_option_usage6()
474 let c = Arg::from_usage("<option> -o <opt>... 'some help info'"); in create_option_usage7()
491 let c = Arg::from_usage("<option>... -o <opt> 'some help info'"); in create_option_usage8()
508 let d = Arg::from_usage("-o <opt>... 'some help info'"); in create_option_usage9()
525 let a = Arg::from_usage("[option] --opt [opt] 'some help info'"); in create_option_usage_long1()
542 let b = Arg::from_usage("--opt [option] 'some help info'"); in create_option_usage_long2()
559 let c = Arg::from_usage("<option> --opt <opt> 'some help info'"); in create_option_usage_long3()
576 let d = Arg::from_usage("--opt <option> 'some help info'"); in create_option_usage_long4()
593 let a = Arg::from_usage("[option] --opt [opt]... 'some help info'"); in create_option_usage_long5()
610 let a = Arg::from_usage("[option]... --opt [opt] 'some help info'"); in create_option_usage_long6()
627 let b = Arg::from_usage("--opt [option]... 'some help info'"); in create_option_usage_long7()
644 let c = Arg::from_usage("<option> --opt <opt>... 'some help info'"); in create_option_usage_long8()
661 let c = Arg::from_usage("<option>... --opt <opt> 'some help info'"); in create_option_usage_long9()
678 let d = Arg::from_usage("--opt <option>... 'some help info'"); in create_option_usage_long10()
695 let a = Arg::from_usage("[option] --opt=[opt] 'some help info'"); in create_option_usage_long_equals1()
712 let b = Arg::from_usage("--opt=[option] 'some help info'"); in create_option_usage_long_equals2()
729 let c = Arg::from_usage("<option> --opt=<opt> 'some help info'"); in create_option_usage_long_equals3()
746 let d = Arg::from_usage("--opt=<option> 'some help info'"); in create_option_usage_long_equals4()
763 let a = Arg::from_usage("[option] --opt=[opt]... 'some help info'"); in create_option_usage_long_equals5()
780 let a = Arg::from_usage("[option]... --opt=[opt] 'some help info'"); in create_option_usage_long_equals6()
797 let b = Arg::from_usage("--opt=[option]... 'some help info'"); in create_option_usage_long_equals7()
814 let c = Arg::from_usage("<option> --opt=<opt>... 'some help info'"); in create_option_usage_long_equals8()
831 let c = Arg::from_usage("<option>... --opt=<opt> 'some help info'"); in create_option_usage_long_equals9()
848 let d = Arg::from_usage("--opt=<option>... 'some help info'"); in create_option_usage_long_equals10()
865 let a = Arg::from_usage("[option] -o --opt [option] 'some help info'"); in create_option_usage_both1()
882 let b = Arg::from_usage("-o --opt [option] 'some help info'"); in create_option_usage_both2()
899 let c = Arg::from_usage("<option> -o --opt <opt> 'some help info'"); in create_option_usage_both3()
916 let d = Arg::from_usage("-o --opt <option> 'some help info'"); in create_option_usage_both4()
933 let a = Arg::from_usage("[option]... -o --opt [option] 'some help info'"); in create_option_usage_both5()
950 let b = Arg::from_usage("-o --opt [option]... 'some help info'"); in create_option_usage_both6()
967 let c = Arg::from_usage("<option>... -o --opt <opt> 'some help info'"); in create_option_usage_both7()
984 let d = Arg::from_usage("-o --opt <option>... 'some help info'"); in create_option_usage_both8()
1001 let a = Arg::from_usage("[option] -o --opt=[option] 'some help info'"); in create_option_usage_both_equals1()
1018 let b = Arg::from_usage("-o --opt=[option] 'some help info'"); in create_option_usage_both_equals2()
1035 let c = Arg::from_usage("<option> -o --opt=<opt> 'some help info'"); in create_option_usage_both_equals3()
1052 let d = Arg::from_usage("-o --opt=<option> 'some help info'"); in create_option_usage_both_equals4()
1069 let a = Arg::from_usage("[option]... -o --opt=[option] 'some help info'"); in create_option_usage_both_equals5()
1086 let b = Arg::from_usage("-o --opt=[option]... 'some help info'"); in create_option_usage_both_equals6()
1103 let c = Arg::from_usage("<option>... -o --opt=<opt> 'some help info'"); in create_option_usage_both_equals7()
1120 let d = Arg::from_usage("-o --opt=<option>... 'some help info'"); in create_option_usage_both_equals8()
1137 let d = Arg::from_usage("-o <file> <mode> 'some help info'"); in create_option_with_vals1()
1154 let d = Arg::from_usage("-o <file> <mode>... 'some help info'"); in create_option_with_vals2()
1171 let d = Arg::from_usage("--opt <file> <mode>... 'some help info'"); in create_option_with_vals3()
1188 let d = Arg::from_usage("[myopt] --opt <file> <mode> 'some help info'"); in create_option_with_vals4()
1205 let d = Arg::from_usage("--opt <file> <mode> 'some help info'"); in create_option_with_vals5()
1218 let a = Arg::from_usage("[pos] 'some help info'"); in create_positional_usage()
1229 let b = Arg::from_usage("<pos> 'some help info'"); in create_positional_usage0()
1240 let c = Arg::from_usage("[pos]... 'some help info'"); in pos_mult_help()
1251 let c = Arg::from_usage("[pos]... 'some help\' info'"); in pos_help_lit_single_quote()
1262 let c = Arg::from_usage("[pos]... 'some \'help\' info'"); in pos_help_double_lit_single_quote()
1273 let c = Arg::from_usage( in pos_help_newline()
1287 let c = Arg::from_usage( in pos_help_newline_lit_sq()
1301 let d = Arg::from_usage("<pos>... 'some help info'"); in pos_req_mult_help()
1312 let b = Arg::from_usage("<pos>"); in pos_req()
1322 let c = Arg::from_usage("[pos]..."); in pos_mult()
1332 let a = Arg::from_usage("<ASCII> 'üñíčöĐ€'"); in nonascii()
1335 let a = Arg::from_usage("<üñíčöĐ€> 'ASCII'"); in nonascii()
1338 let a = Arg::from_usage("<üñíčöĐ€> 'üñíčöĐ€'"); in nonascii()
1341 let a = Arg::from_usage("-ø 'ø'"); in nonascii()
1345 let a = Arg::from_usage("--üñíčöĐ€ 'Nōṫ ASCII'"); in nonascii()
1349 let a = Arg::from_usage("[ñämê] --ôpt=[üñíčöĐ€] 'hælp'"); in nonascii()