Skip to content

Commit 69f5d73

Browse files
committed
docs: explain unknown flags parsing
1 parent 13c180d commit 69f5d73

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ $ node ./cli --someString hello --some-string world
167167
```
168168

169169
### Unknown flags
170-
When unrecognized flags are passed in, they are either interpreted as a string or boolean depending on usage. Unknown flags are not converted to camelCase.
170+
When unrecognized flags are passed in, they are either interpreted as a string or boolean depending on usage. Unknown flags are not converted to camelCase to allow for accurate error handling.
171171

172172
```sh
173173
$ node ./cli --unknown-flag --unknown-flag 2

0 commit comments

Comments
 (0)