Skip to content

Commit 8ee56c2

Browse files
authored
Remove conflicting short flag -h
The short flag -h for --host conflicts with the same short flag for --help. Remove -h as alternative for --host.
1 parent e250cd8 commit 8ee56c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cli/command.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ var TitleStyle = gocolorize.NewColor("green")
1111
var InfoStyle = gocolorize.NewColor("yellow")
1212

1313
type Command struct {
14-
Host string `short:"h" long:"host" description:"beanstalkd host addr." required:"true" default:"localhost:11300"`
14+
Host string `short:"" long:"host" description:"beanstalkd host addr." required:"true" default:"localhost:11300"`
1515

1616
conn *beanstalk.Conn
1717
}

0 commit comments

Comments
 (0)