Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

> Quickly scan for CLI flags and arguments

This is a [fast](#benchmarks) and lightweight alternative to [`minimist`](https://github.com/substack/minimist) and [`yargs-parser`](https://github.com/yargs/yargs-parser).
This is a [fast](#benchmarks) and lightweight alternative to [`minimist`](https://github.com/minimistjs/minimist) and [`yargs-parser`](https://github.com/yargs/yargs-parser).

It only exists because I find that I usually don't need most of what `minimist` and `yargs-parser` have to offer. However, `mri` is similar _enough_ that it might function as a "drop-in replacement" for you, too!

Expand Down Expand Up @@ -118,9 +118,9 @@ Once an unknown flag is encountered, parsing will terminate, regardless of your
- Missing `options`:
- `opts.stopEarly`
- `opts['--']`
- Ignores newlines (`\n`) within args (see [test](https://github.com/substack/minimist/blob/master/test/parse.js#L69-L80))
- Ignores slashBreaks within args (see [test](https://github.com/substack/minimist/blob/master/test/parse.js#L147-L157))
- Ignores dot-nested flags (see [test](https://github.com/substack/minimist/blob/master/test/parse.js#L180-L197))
- Ignores newlines (`\n`) within args (see [test](https://github.com/minimistjs/minimist/blob/2edc957fb668c81e2bd9e93748866a30ab33b28e/test/parse.js#L71-L82))
- Ignores slashBreaks within args (see [test](https://github.com/minimistjs/minimist/blob/2edc957fb668c81e2bd9e93748866a30ab33b28e/test/parse.js#L159-L169))
- Ignores dot-nested flags (see [test](https://github.com/minimistjs/minimist/blob/2edc957fb668c81e2bd9e93748866a30ab33b28e/test/parse.js#L192-L209))

#### yargs-parser

Expand Down