-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update Chinese README for #1010 (.name and .usage) #1014
Comments
shadowspawn
changed the title
Update Chinese README for #1010 (
Update Chinese README for #1010 (.name and .usage)
Aug 11, 2019
.name
and .usage
)
### .usage and .name These allow you to customise the usage description in the first line of the help. The name is otherwise deduced from the (full) program arguments. Given: ```js program .name("my-command") .usage("[global options] command") ``` The help will start with: ```Text Usage: my-command [global options] command ``` |
|
Thanks @oGsLP ! I'll add this to my Pull Request. |
(The translation has been added to develop branch for next release.) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I updated the README in #1010 which has been merged to the develop branch.
I made the format changes in #1013 for the Chinese README but just copied the english text for the new section in the help.
A Pull Request, or just a translation of that section, is welcome.
The text was updated successfully, but these errors were encountered: