Skip to content

Commit 088481c

Browse files
authored
docs: fix typos in README.md (#379)
1 parent 6877a2d commit 088481c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -336,14 +336,14 @@ Should arrays consume more than one positional argument following their flag.
336336

337337
```console
338338
$ node example --arr 1 2
339-
{ _[], arr: [1, 2] }
339+
{ _: [], arr: [1, 2] }
340340
```
341341

342342
_if disabled:_
343343

344344
```console
345345
$ node example --arr 1 2
346-
{ _[2], arr: [1] }
346+
{ _: [2], arr: [1] }
347347
```
348348

349349
**Note: in `v18.0.0` we are considering defaulting greedy arrays to `false`.**

0 commit comments

Comments
 (0)