Skip to content
New issue

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

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

"--version" produces too much output #64

Closed
ruafozy opened this issue May 4, 2013 · 2 comments
Closed

"--version" produces too much output #64

ruafozy opened this issue May 4, 2013 · 2 comments

Comments

@ruafozy
Copy link

ruafozy commented May 4, 2013

"--version", if generated with Methadone::Main#version, causes the entire
usage message to be output. This is against Unix conventions.

By way of comparison, consider the output of "ruby --version", "python
--version", "perl --version", or "ls --version".

The GNU coding standards specify the behaviour of "--version":

http://www.gnu.org/prep/standards/html_node/_002d_002dversion.html#g_t_002d_002dversion

@ruafozy
Copy link
Author

ruafozy commented May 4, 2013

Granted, it's probably impractical to have #version
implement the GNU coding standards. Instead, I think
it should copy Python, and simply give the application's
name and its version string.

@davetron5000
Copy link
Owner

This will be in the next release, see 1932c82

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants