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

Remove conflicting short flag -h #22

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

pschultz
Copy link

@pschultz pschultz commented Nov 1, 2018

The -h flag shows the usage message instead of working like --host:

$ beanstool stats -h localhost:11300
Usage:
  beanstool [OPTIONS] stats [stats-OPTIONS]

Help Options:
  -h, --help       Show this help message

[stats command options]
      -t, --tubes= tubes to be listed (separated by ,). By default all are listed
      -h, --host=  beanstalkd host addr. (default: localhost:11300)
[snip]

beanstool stats --host localhost:11300 works as expected. This PR removes -h as alternative for --host.

The short flag -h for --host conflicts with the same short flag for --help.
Remove -h as alternative for --host.

Signed-off-by: Peter Schultz <[email protected]>
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.

1 participant