Skip to content

Commit 9b81d84

Browse files
Fuchsiumnschonni
authored andcommitted
Fix typo on "How to parse command line arguments"
1 parent 0e184ff commit 9b81d84

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

locale/en/knowledge/command-line/how-to-parse-command-line-arguments.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ A summary of elements used in the program:
121121
* **argv**: This is the modified `process.argv` which we have configured with yargs.
122122
* **command()**: This method is used to add commands, their description and options which are specific to these commands only, like in the above code `lyr` is the command and `-y` is lyr specific option: `node myapp.js lyr -y 2016`
123123
* **option()**: This method is used to add global options(flags) which can be accessed by all commands or without any command.
124-
* **help()**: This method is used to display a help dialogue when `--help` option is encountered which contains description oof ll the `commands` and `options` available.
124+
* **help()**: This method is used to display a help dialogue when `--help` option is encountered which contains description of all the `commands` and `options` available.
125125
* **alias()**: This method provides an alias name to an option, like in the above code both `--help` and `-h` triggers the help dialogue.
126126

127127
For more information on yargs and the many, many other things it can do for your command-line arguments, please visit [http://yargs.js.org/docs/](http://yargs.js.org/docs/)

0 commit comments

Comments
 (0)