MCPcopy Index your code
hub / github.com/yargs/yargs / deprecatedExtra

Function deprecatedExtra

lib/usage.ts:426–429  ·  view source on GitHub ↗
(deprecated?: string | boolean)

Source from the content-addressed store, hash-verified

424 if (options.number.includes(key)) type = `[${__('number')}]`;
425
426 const deprecatedExtra = (deprecated?: string | boolean) =>
427 typeof deprecated === 'string'
428 ? `[${__('deprecated: %s', deprecated)}]`
429 : `[${__('deprecated')}]`;
430
431 const extra = [
432 key in deprecatedOptions

Callers 1

usageFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…