Lines Matching refs:subcommand
8 .subcommand(
29 .subcommand(
54 .subcommand(
75 .subcommand(
96 .subcommand(
121 .subcommand(Command::new("some").short_flag('S').short_flag_alias('S'))
130 .subcommand(
142 let cmd = Command::new("test").subcommand(
170 .subcommand(
195 .subcommand(
214 .subcommand(
232 .subcommand(
249 .subcommand(
270 .subcommand(
294 .subcommand(
318 .subcommand(
324 .subcommand(
354 #[should_panic = "the \'-f\' short flag for the \'test\' argument conflicts with the short flag for \'some\' subcommand"]
357 .subcommand(Command::new("some").short_flag('f').long_flag("some"))
368 .subcommand(Command::new("some").short_flag('f').long_flag("some"))
369 .subcommand(Command::new("result").short_flag('t').short_flag_alias('f'))
379 .subcommand(Command::new("some").long_flag("flag"))
380 .subcommand(
391 #[should_panic = "the \'-f\' short flag for the \'test\' argument conflicts with the short flag for \'some\' subcommand"]
394 .subcommand(Command::new("some").short_flag('f').long_flag("some"))
402 #[should_panic = "the \'--some\' long flag for the \'test\' argument conflicts with the short flag for \'some\' subcommand"]
405 .subcommand(Command::new("some").short_flag('f').long_flag("some"))
413 #[should_panic = "the \'--flag\' long flag for the \'flag\' argument conflicts with the short flag for \'some\' subcommand"]
416 .subcommand(Command::new("some").short_flag('a').long_flag("flag"))
423 #[should_panic = "the '--help' long flag for the 'help' argument conflicts with the short flag for 'help' subcommand"]
426 .subcommand(Command::new("help").short_flag('h').long_flag("help"))
433 #[should_panic = "the '--version' long flag for the 'version' argument conflicts with the short flag for 'ver' subcommand"]
437 .subcommand(Command::new("ver").short_flag('V').long_flag("version"))
446 .subcommand(Command::new("test").long_flag("test"))
457 .subcommand(Command::new("test").long_flag("test"))
458 .subcommand(Command::new("temp").long_flag("temp"))
469 .subcommand(Command::new("test").long_flag("test"))
470 .subcommand(Command::new("temp").long_flag("temp"))
480 .subcommand(Command::new("test").long_flag("test"))
481 .subcommand(Command::new("temp").long_flag("temp"))
491 .subcommand(Command::new("test").long_flag("test"))
492 .subcommand(Command::new("testa").long_flag("testa"))
493 .subcommand(Command::new("testb").long_flag("testb"))
517 // Query subcommand
520 .subcommand(
565 // Query subcommand
568 .subcommand(
617 // Query subcommand
620 .subcommand(