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

Inconsistent return codes with command help #74

Closed
tseemann opened this issue Aug 15, 2016 · 3 comments
Closed

Inconsistent return codes with command help #74

tseemann opened this issue Aug 15, 2016 · 3 comments
Assignees
Milestone

Comments

@tseemann
Copy link

  • salmon --help returns 0
  • salmon index -h returns 1
  • salmon quant -h returns 0
  • salmon swim -h returns 0
@rob-p rob-p added this to the 0.7.1 milestone Aug 15, 2016
@rob-p rob-p self-assigned this Aug 15, 2016
@rob-p
Copy link
Collaborator

rob-p commented Aug 15, 2016

So, you propose return 1 for all of these?

@rob-p
Copy link
Collaborator

rob-p commented Aug 15, 2016

Actually, I think the suggestion is that :

salmon

returns 1, and all other variants e.g.

salmon --help
salmon index -h 
salmon quant -h 
salmon swim -h 

return 0.

@tseemann
Copy link
Author

Yep that's correct - the command returns 0 when it did what was asked, and non-0 otherwise.

Thank you :)

rob-p added a commit that referenced this issue Aug 16, 2016
@rob-p rob-p closed this as completed Aug 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

No branches or pull requests

2 participants