Skip to content

Commit

Permalink
Document single double-dash better.
Browse files Browse the repository at this point in the history
  • Loading branch information
jojibucaran committed Nov 12, 2017
1 parent d39caa4 commit 20969b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -58,7 +58,7 @@ Getopts expects an array of arguments and options object (optional) and returns

An array of arguments to parse. See [`process.argv`](https://nodejs.org/docs/latest/api/process.html#process_process_argv).

Arguments that begin with one or two dashes are called options or flags. Options may have one or more [aliases](#optsalias). The underscore key stores operands. Operands include non-options, the single dash `-` and all the arguments after a double dash `--`.
Arguments that begin with one or two dashes are called options or flags. Options may have one or more [aliases](#optsalias). The underscore key stores operands. Operands include non-options, the single dash `-` and all the arguments after `--`.

#### options.alias

Expand Down

0 comments on commit 20969b4

Please sign in to comment.