beanstool icon indicating copy to clipboard operation
beanstool copied to clipboard

Remove conflicting short flag -h

Open pschultz opened this issue 5 years ago • 0 comments

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.

pschultz avatar Nov 01 '18 15:11 pschultz