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 Nov 25, 2023
1 parent fa422e8 commit 591d1bb
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 591d1bb

Please sign in to comment.