Home
last modified time | relevance | path

Searched refs:shortOption (Results 1 – 4 of 4) sorted by relevance

/third_party/node/deps/npm/node_modules/@pkgjs/parseargs/
Dindex.js204 const shortOption = StringPrototypeCharAt(arg, 1);
205 const longOption = findLongOptionForShort(shortOption, options);
226 const shortOption = StringPrototypeCharAt(arg, index);
227 const longOption = findLongOptionForShort(shortOption, options);
231 ArrayPrototypePush(expanded, `-${shortOption}`);
246 const shortOption = StringPrototypeCharAt(arg, 1);
247 const longOption = findLongOptionForShort(shortOption, options);
251 { kind: 'option', name: longOption, rawName: `-${shortOption}`,
318 const shortOption = optionConfig.short; constant
319 validateString(shortOption, `options.${longOption}.short`);
[all …]
Dutils.js150 const shortOption = StringPrototypeCharAt(arg, 1);
151 const longOption = findLongOptionForShort(shortOption, options);
164 function findLongOptionForShort(shortOption, options) { argument
168 ({ 1: optionConfig }) => objectGetOwn(optionConfig, 'short') === shortOption
170 return longOptionEntry?.[0] ?? shortOption;
/third_party/node/lib/internal/util/parse_args/
Dparse_args.js200 const shortOption = StringPrototypeCharAt(arg, 1);
201 const longOption = findLongOptionForShort(shortOption, options);
222 const shortOption = StringPrototypeCharAt(arg, index);
223 const longOption = findLongOptionForShort(shortOption, options);
227 ArrayPrototypePush(expanded, `-${shortOption}`);
242 const shortOption = StringPrototypeCharAt(arg, 1);
243 const longOption = findLongOptionForShort(shortOption, options);
247 { kind: 'option', name: longOption, rawName: `-${shortOption}`,
313 const shortOption = optionConfig.short; constant
314 validateString(shortOption, `options.${longOption}.short`);
[all …]
Dutils.js150 const shortOption = StringPrototypeCharAt(arg, 1);
151 const longOption = findLongOptionForShort(shortOption, options);
164 function findLongOptionForShort(shortOption, options) { argument
168 ({ 1: optionConfig }) => objectGetOwn(optionConfig, 'short') === shortOption,
170 return longOptionEntry?.[0] ?? shortOption;