Skip to content

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