(args: string[], index: number, parsed: MutableOptions)
| 144 | } |
| 145 | |
| 146 | function parseArgument(args: string[], index: number, parsed: MutableOptions) { |
| 147 | return parseVersionOptionArgument(args, index, parsed, { |
| 148 | inlineValueOptions: INLINE_VALUE_OPTIONS, |
| 149 | valueOptions: VALUE_OPTIONS, |
| 150 | booleanOptions: BOOLEAN_OPTIONS, |
| 151 | printUsage, |
| 152 | fail, |
| 153 | }); |
| 154 | } |
| 155 | |
| 156 | function finalizeOptions(parsed: MutableOptions): Options { |
| 157 | if (!parsed.version) { |
no test coverage detected