/dports/devel/kyua/kyua-0.13/utils/cmdline/ |
H A D | options_test.cpp | 114 ATF_REQUIRE(!o.needs_arg()); in ATF_TEST_CASE_BODY() 128 ATF_REQUIRE(o.needs_arg()); in ATF_TEST_CASE_BODY() 145 ATF_REQUIRE(o.needs_arg()); in ATF_TEST_CASE_BODY() 161 ATF_REQUIRE(!o.needs_arg()); in ATF_TEST_CASE_BODY() 173 ATF_REQUIRE(o.needs_arg()); in ATF_TEST_CASE_BODY() 187 ATF_REQUIRE(o.needs_arg()); in ATF_TEST_CASE_BODY() 226 ATF_REQUIRE(o.needs_arg()); in ATF_TEST_CASE_BODY() 240 ATF_REQUIRE(o.needs_arg()); in ATF_TEST_CASE_BODY() 274 ATF_REQUIRE(o.needs_arg()); in ATF_TEST_CASE_BODY() 288 ATF_REQUIRE(o.needs_arg()); in ATF_TEST_CASE_BODY() [all …]
|
H A D | options.cpp | 148 cmdline::base_option::needs_arg(void) const in needs_arg() function in cmdline::base_option 162 INV(needs_arg()); in arg_name() 175 PRE(needs_arg()); in has_default_value() 201 if (needs_arg()) { in format_short_name() 215 if (needs_arg()) { in format_long_name()
|
H A D | parser.cpp | 90 if (option->needs_arg()) in options_to_getopt_data() 98 if (option->needs_arg()) in options_to_getopt_data() 323 if (option->needs_arg() && option->has_default_value()) in parse() 356 if (option->needs_arg()) { in parse()
|
H A D | options.hpp | 114 bool needs_arg(void) const;
|
/dports/shells/fish/fish-3.3.1/share/functions/ |
H A D | __fish_abbr_old.fish | 6 set -l needs_arg no 15 set needs_arg multi 18 set needs_arg double 21 set needs_arg single 50 set needs_arg multi 56 if test $needs_arg = single 58 set needs_arg no 69 set needs_arg no 73 else if test $needs_arg = multi 75 set needs_arg no [all …]
|
/dports/games/pentobi/pentobi-19.1/libboardgame_base/ |
H A D | Options.cpp | 39 bool needs_arg = false; in Options() local 52 needs_arg = (! spec.empty() && spec.back() == ':'); in Options() 79 needs_arg = true; in Options() 86 if (needs_arg || ! value.empty()) in Options() 91 if (needs_arg) in Options()
|
/dports/x11-fonts/terminus-font/terminus-font-4.48/bin/ |
H A D | fncli.py | 40 def needs_arg(self, name): member in Options 54 suffix = ' (taking an argument?)' if self.needs_arg(name) else '' 105 if not self.options.needs_arg(name): 112 if not self.options.needs_arg(name): 119 if value is None and int(self.options.needs_arg(name)) > 0:
|
/dports/multimedia/mkvtoolnix/mkvtoolnix-65.0.0/src/common/ |
H A D | cli_parser.cpp | 55 bool needs_arg) in option_t() argument 60 , m_needs_arg{needs_arg} 132 auto needs_arg = parts.size() == 2; in add_option() local 133 auto option = parser_c::option_t{spec, std::move(description), callback, needs_arg}; in add_option() 151 if (needs_arg) in add_option()
|
H A D | cli_parser.h | 42 …ption_t(std::string spec, translatable_string_c description, parser_cb_t callback, bool needs_arg);
|
/dports/comms/xcwcp/unixcw-3.5.1/src/cwutils/ |
H A D | cmdline.c | 207 int needs_arg = element[1] == ':'; in get_option() local 215 strncat(option_string, element, needs_arg ? 2 : 1); in get_option() 224 long_names[long_count] = safe_strdup(element + (needs_arg ? 3 : 2)); in get_option() 230 long_options[long_count].has_arg = needs_arg; in get_option()
|
/dports/comms/unixcw/unixcw-3.5.1/src/cwutils/ |
H A D | cmdline.c | 207 int needs_arg = element[1] == ':'; in get_option() local 215 strncat(option_string, element, needs_arg ? 2 : 1); in get_option() 224 long_names[long_count] = safe_strdup(element + (needs_arg ? 3 : 2)); in get_option() 230 long_options[long_count].has_arg = needs_arg; in get_option()
|
/dports/x11/kitty/kitty-0.23.1/kitty/ |
H A D | cli.py | 491 def needs_arg(self, alias: str) -> bool: member in Options 546 needs_arg = oc.needs_arg(parts[0]) 547 if not needs_arg:
|
/dports/lang/rust/rustc-1.58.1-src/vendor/derive-new/src/ |
H A D | lib.rs | 179 let args = fields.iter().filter(|f| f.needs_arg()).map(|f| f.as_arg()); in new_impl() 374 pub fn needs_arg(&self) -> bool { in needs_arg() method
|
/dports/audio/ncspot/ncspot-0.9.3/cargo-crates/derive-new-0.5.9/src/ |
H A D | lib.rs | 180 let args = fields.iter().filter(|f| f.needs_arg()).map(|f| f.as_arg()); in new_impl() 375 pub fn needs_arg(&self) -> bool { in needs_arg() method
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/fs/ntfs/ |
H A D | super.c | 113 goto needs_arg; \ in parse_options() 122 goto needs_arg; \ in parse_options() 134 goto needs_arg; \ in parse_options() 145 goto needs_arg; \ in parse_options() 161 goto needs_arg; \ in parse_options() 201 goto needs_arg; in parse_options() 333 needs_arg: in parse_options()
|
/dports/multimedia/libv4l/linux-5.13-rc2/fs/ntfs/ |
H A D | super.c | 113 goto needs_arg; \ in parse_options() 122 goto needs_arg; \ in parse_options() 134 goto needs_arg; \ in parse_options() 145 goto needs_arg; \ in parse_options() 161 goto needs_arg; \ in parse_options() 201 goto needs_arg; in parse_options() 333 needs_arg: in parse_options()
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/fs/ntfs/ |
H A D | super.c | 113 goto needs_arg; \ in parse_options() 122 goto needs_arg; \ in parse_options() 134 goto needs_arg; \ in parse_options() 145 goto needs_arg; \ in parse_options() 161 goto needs_arg; \ in parse_options() 201 goto needs_arg; in parse_options() 333 needs_arg: in parse_options()
|
/dports/devel/kyua/kyua-0.13/cli/ |
H A D | cmd_help.cpp | 71 if (option->needs_arg() && option->has_default_value()) in options_help()
|
/dports/lang/ruby26/ruby-2.6.9/ |
H A D | ruby.c | 1264 # define need_argument(name, s, needs_arg, next_arg) \ in proc_options() argument 1265 …s) ? !*++(s) : (next_arg) && (!argc || !((s) = argv[1]) || (--argc, ++argv, 0))) && (needs_arg) ? \ in proc_options() 1270 # define is_option_with_optarg(name, allow_hyphen, allow_envopt, needs_arg, next_arg) \ in proc_options() argument 1273 need_argument(name, s, needs_arg, next_arg), 1) : 0) in proc_options()
|
/dports/devel/gdb/gdb-11.1/gdb/ |
H A D | completer.c | 719 bool needs_arg = true; in collect_explicit_location_matches() local 745 needs_arg = false; in collect_explicit_location_matches() 766 if (!needs_arg || tracker.completes_to_completion_word (word)) in collect_explicit_location_matches()
|
/dports/security/silktools/silk-3.19.1/src/pysilk/ |
H A D | silkpython.pod | 117 [B<arg=>I<needs_arg>]B<,> 144 =item I<needs_arg> 149 not specified or I<needs_arg> is B<True>, the user must specify an 151 called with a single argument. When I<needs_arg> is B<False>, it is
|
H A D | pysilk.pod | 2528 …register_switch(>I<switch_name>B<,> B<handler=>I<handler>B<,> [B<arg=>I<needs_arg>]B<,> [B<help=>I…
|