Skip to content

Conversation

@neonichu
Copy link
Contributor

This is more in line with traditional help output by Unix commands.

Before:

$ ./bin/ctf-generator --help
Usage:

    $ ./bin/ctf-generator Space ID Access Token

After:

$ ./bin/ctf-generator --help
Usage:

    $ ./bin/ctf-generator [Space ID] [Access Token]

@kylef
Copy link
Owner

kylef commented Jan 18, 2016

We discussed this closer to the PR via iMessage and discussed that []means optional inside many different man pages and command line tools and we should do something else here.

Would you mind updating the PR @neonichu?

kylef added a commit that referenced this pull request Feb 16, 2016
Enclose argument names inside [] in --help
@kylef kylef merged commit 31e46f0 into kylef:master Feb 16, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants