Skip to content

Commit

Permalink
docs: update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
c4spar committed Mar 23, 2020
1 parent d779851 commit bee4767
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/command/README.md
Expand Up @@ -821,10 +821,13 @@ $ ./examples/command/help-option-and-command.ts help
```

The `help` sub-command excepts also a name of a sub-command as argument.
The `help` sub-command excepts also a name of a sub-command as argument to show the help of the sub-command. But you can also use the help flag and command directly from the sub-command.

```
$ ./examples/command/help-option-and-command.ts help completions
$ ./examples/command/help-option-and-command.ts completions -h
$ ./examples/command/help-option-and-command.ts completions --help
$ ./examples/command/help-option-and-command.ts completions help
Usage: completions
Version: v0.0.0
Expand Down

0 comments on commit bee4767

Please sign in to comment.