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

Improve command line help page #44

Open
adefazio opened this issue Jan 3, 2016 · 4 comments
Open

Improve command line help page #44

adefazio opened this issue Jan 3, 2016 · 4 comments

Comments

@adefazio
Copy link

adefazio commented Jan 3, 2016

It doesn't actually say that you need to use colons between parts, or anything like that. Perhaps copy some of the github docs to the command line docs.

@olorin
Copy link
Contributor

olorin commented Jan 5, 2016

I thought it did - is Filter using the following syntax: CLIENT[:FLAVOUR[:NAME]] insufficiently clear? Any suggestions for improving it?

@adefazio
Copy link
Author

adefazio commented Jan 5, 2016

Where does it say that when you run it? I just see the help page:

Usage: box [-e|--environment ENV] ((-v|--version) | COMMAND)

Available options:
  -e,--environment ENV     Use an alternate box store / environment
  -v,--version             Version information
  -h,--help                Show this help text

Available commands:
  ip                       Get the IP address of a box.
  ssh                      SSH to a box.
  rsh                      SSH to a box with a shell interface compatible with
                           rsync.
  rsync                    SSH to a box.
  ls                       List available boxes.

'''

@domdere
Copy link
Member

domdere commented Jan 5, 2016

% box ssh --help
Usage: box ssh [-s|--secure] FILTER [SSH_ARGUMENTS]
  SSH to a box.

Available options:
  -s,--secure              Use a 2FA-enabled gateway.
  FILTER                   Filter using the following syntax:
                           CLIENT[:FLAVOUR[:NAME]]
  SSH_ARGUMENTS            Extra arguments to pass to ssh.
  -h,--help                Show this help text

@adefazio
Copy link
Author

adefazio commented Jan 5, 2016

Ok. I would be happy with a line at the bottom of the help just saying something like "Use 'box --help' for help on specific commands"
git --help has something similar.

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

3 participants