Skip to content

Commit

Permalink
[readme]: document string positionals
Browse files Browse the repository at this point in the history
  • Loading branch information
shadowspawn committed Mar 1, 2024
1 parent 74f90f1 commit 17aa56a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,8 @@ Return an argument object `argv` populated with the array arguments from `args`.
them.

Numeric-looking arguments will be returned as numbers unless `opts.string` or
`opts.boolean` is set for that argument name.
`opts.boolean` contains that argument name. To disable numeric conversion
for non-option arguments, add `'_'` to `opts.string`.

Any arguments after `'--'` will not be parsed and will end up in `argv._`.

Expand Down

0 comments on commit 17aa56a

Please sign in to comment.