Lines Matching defs:Argument
137 pub struct Argument { struct
141 pub value_mode: ArgumentValueMode, argument
150 impl Argument { argument
151 pub fn positional(value: &'static str, help: &'static str) -> Argument { in positional()
161 pub fn value(long: &'static str, value: &'static str, help: &'static str) -> Argument { in value()
176 ) -> Argument { in short_value()
186 pub fn flag(long: &'static str, help: &'static str) -> Argument { in flag()
196 pub fn short_flag(short: char, long: &'static str, help: &'static str) -> Argument { in short_flag()
206 pub fn flag_or_value(long: &'static str, value: &'static str, help: &'static str) -> Argument { in flag_or_value()
327 pub fn set_arguments<I, R, F>(args: I, arg_list: &[Argument], mut f: F) -> Result<()> in set_arguments()
365 pub fn print_help(program_name: &str, required_arg: &str, args: &[Argument]) { in print_help()