Skip to content

fix status code and usage#2794

Merged
creack merged 1 commit intomasterfrom
fix_status_code_and_usage
Nov 21, 2013
Merged

fix status code and usage#2794
creack merged 1 commit intomasterfrom
fix_status_code_and_usage

Conversation

@vieux
Copy link
Copy Markdown
Contributor

@vieux vieux commented Nov 21, 2013

  • return status exit status 2 on usage
  • move parseRun into commands.go
  • display usage on stderr

@crosbymichael
Copy link
Copy Markdown
Contributor

LGTM

ping @creack @shykes

@tianon
Copy link
Copy Markdown
Member

tianon commented Nov 21, 2013

+1! I've wished for this several times before, but never enough to figure out what was necessary to make it happen. Thanks @vieux. :D

(ie, no more forgetting a mandatory argument and having tooling/bash believe the command completed successfully without error)

@creack
Copy link
Copy Markdown
Contributor

creack commented Nov 21, 2013

@vieux can you rebase?

@vieux
Copy link
Copy Markdown
Contributor Author

vieux commented Nov 21, 2013

@creack done

@creack
Copy link
Copy Markdown
Contributor

creack commented Nov 21, 2013

LGTM

creack added a commit that referenced this pull request Nov 21, 2013
@creack creack merged commit bcdeb37 into master Nov 21, 2013
@creack creack deleted the fix_status_code_and_usage branch November 21, 2013 21:48
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.

4 participants