• Home
  • Raw
  • Download

Lines Matching refs:ArgAction

3 use clap::{arg, error::ErrorKind, Arg, ArgAction, Command};
14 .action(ArgAction::SetTrue), in flag_subcommand_normal()
38 .action(ArgAction::SetTrue), in flag_subcommand_normal_with_alias()
60 .action(ArgAction::SetTrue), in flag_subcommand_short()
81 .action(ArgAction::SetTrue), in flag_subcommand_short_with_args()
104 .action(ArgAction::SetTrue), in flag_subcommand_short_with_alias()
178 .action(ArgAction::SetTrue), in flag_subcommand_short_with_aliases()
235 .arg(Arg::new("clean").short('c').action(ArgAction::SetTrue)), in flag_subcommand_short_after_long_arg()
237 .arg(Arg::new("arg").long("arg").action(ArgAction::Set)) in flag_subcommand_short_after_long_arg()
255 .action(ArgAction::SetTrue), in flag_subcommand_long()
278 .action(ArgAction::SetTrue), in flag_subcommand_long_with_alias()
302 .action(ArgAction::SetTrue), in flag_subcommand_long_with_aliases()
322 .arg(arg!(-f --flag "some flag").action(ArgAction::SetTrue)) in flag_subcommand_multiple()
323 .arg(arg!(-p --print "print something").action(ArgAction::SetTrue)) in flag_subcommand_multiple()
328 .arg(arg!(-f --flag "some flag").action(ArgAction::SetTrue)) in flag_subcommand_multiple()
329 .arg(arg!(-p --print "print something").action(ArgAction::SetTrue)), in flag_subcommand_multiple()
531 .action(ArgAction::Set) in flag_subcommand_long_short_normal_usage_string()
540 .action(ArgAction::Set) in flag_subcommand_long_short_normal_usage_string()
578 .action(ArgAction::Set) in flag_subcommand_long_normal_usage_string()
587 .action(ArgAction::Set) in flag_subcommand_long_normal_usage_string()
630 .action(ArgAction::Set) in flag_subcommand_short_normal_usage_string()
639 .action(ArgAction::Set) in flag_subcommand_short_normal_usage_string()