Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Capitalize and highlight optional args. #19

Merged
merged 3 commits into from Jun 23, 2012

Conversation

Projects
None yet
2 participants
Contributor

calmh commented Jun 14, 2012

Slight tidying. If there are philosophical reasons for not using capitalization I'll revert that.

  • "usage" and "options" are now capitalized to provide better english
    and set them off from the actual options and arguments etc.
  • Optional arguments are indicated with [] as is common, instead of <>
    that is now used only for required arguments.
  • Add a newline before the "... argument required" and remove one after,
    to make it better match how the help text is usually presented.

calmh added some commits Jun 14, 2012

Capitalize and highlight optional args.
- "usage" and "options" are now capitalized to provide better english
  and set them off from the actual options and arguments etc.
- Optional arguments are indicated with [] as is common, instead of <>
  that is now used only for required arguments.
- Add a newline before the "... argument required" and remove one after,
  to make it better match how the help text is usually presented.

harthur added a commit that referenced this pull request Jun 23, 2012

Merge pull request #19 from calmh/slightly-tidy-usage-output
Capitalize and highlight optional args.

@harthur harthur merged commit f7346ad into harthur:master Jun 23, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment