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

Support for long description #7

Open
malleor opened this issue Mar 19, 2013 · 0 comments
Open

Support for long description #7

malleor opened this issue Mar 19, 2013 · 0 comments

Comments

@malleor
Copy link

malleor commented Mar 19, 2013

It would be nice to be able to add a program description to usage. I mean this kind of output:

usage: ./test --host=string [options] ... 
options:
  -h, --host    host name (string)
  -p, --port    port number (int [=80])
  -t, --type    protocol type (string [=http])
      --gzip    gzip when transfer
  -?, --help    print this message
The program accepts on standard input newline-delimited string 
values denoting query arguments to be added to the output url. 
Example: 
  $ (echo a=1& echo b=2)| ./test --host=github.com -p 4545
  http://github.com:4545?a=1&b=2

I don't know whether is makes sense for Unix people, but it does on Windows.

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

1 participant