Lines Matching refs:use_long
96 use_long: bool, field
111 use_long: bool, in new()
138 use_long: use_long, in new()
144 pub fn write_app_help(w: &'a mut Write, app: &App, use_long: bool) -> ClapResult<()> { in write_app_help()
146 Self::write_parser_help(w, &app.p, use_long) in write_app_help()
151 pub fn write_parser_help(w: &'a mut Write, parser: &Parser, use_long: bool) -> ClapResult<()> { in write_parser_help()
153 Self::_write_parser_help(w, parser, false, use_long) in write_parser_help()
169 use_long: bool, in _write_parser_help()
187 use_long, in _write_parser_help()
217 let use_long = self.use_long; in write_args_unsorted() localVariable
218 for arg in args.filter(|arg| should_show_arg(use_long, *arg)) { in write_args_unsorted()
245 let use_long = self.use_long; in write_args() localVariable
251 should_show_arg(use_long, *arg) in write_args()
458 let h = if self.use_long && arg.name() != "" { in help()
466 || (self.use_long && arg.name() != ""); in help()
582 fn should_show_arg(use_long: bool, arg: &ArgWithOrder) -> bool { in should_show_arg()
587 (!arg.is_set(ArgSettings::HiddenLongHelp) && use_long) in should_show_arg()
588 || (!arg.is_set(ArgSettings::HiddenShortHelp) && !use_long) in should_show_arg()