Skip to content
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

Fix help descriptions for CLI options #107

Merged
merged 1 commit into from
Nov 8, 2015

Conversation

deees
Copy link
Contributor

@deees deees commented Nov 6, 2015

Currently help looks like this:

$ pronto help run
Usage:
  pronto run

Options:
      [--exit-code=Exits with non-zero code if there were any warnings/errors.], [--no-exit-code]              
  -c, [--commit=Commit for the diff]                                                                           
                                                                                                               # Default: master
  -i, [--index=Analyze changes in git index (staging area)], [--no-index]                                      
  -r, [--runner=Run only the passed runners]                                                                   
  -f, [--formatter=Pick output formatter. Available: github, github_pr, gitlab, json, checkstyle, text, null]  
                                                                                                               # Default: text

Run Pronto

After this change:

$ pronto help run
Usage:
  pronto run

Options:
      [--exit-code], [--no-exit-code]  # Exits with non-zero code if there were any warnings/errors.
  -c, [--commit=COMMIT]                # Commit for the diff
                                       # Default: master
  -i, [--index], [--no-index]          # Analyze changes in git index (staging area)
  -r, [--runner=one two three]         # Run only the passed runners
  -f, [--formatter=FORMATTER]          # Pick output formatter. Available: github, github_pr, gitlab, json, checkstyle, text, null
                                       # Default: text

Run Pronto

Much better 😄

@mmozuras

@mmozuras
Copy link
Member

mmozuras commented Nov 8, 2015

@deees woah, it is much better! Thanks! 🙇

mmozuras added a commit that referenced this pull request Nov 8, 2015
Fix help descriptions for CLI options
@mmozuras mmozuras merged commit ba0d4f4 into prontolabs:master Nov 8, 2015
mmozuras added a commit that referenced this pull request Nov 8, 2015
@deees deees deleted the fix/cli_options_help branch November 8, 2015 20:12
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