fix usage for completly deprecated flag
Docker-DCO-1.1-Signed-off-by: Victor Vieux <victor.vieux@docker.com> (github: vieux)
This commit is contained in:
parent
e8163b809b
commit
a5ba28e1f7
2 changed files with 4 additions and 1 deletions
|
@ -12,6 +12,7 @@ var (
|
|||
)
|
||||
|
||||
func init() {
|
||||
flag.Bool([]string{"#hp", "#-halp"}, false, "display the halp")
|
||||
flag.BoolVar(&b, []string{"b"}, false, "a simple bool")
|
||||
flag.BoolVar(&b2, []string{"-bool"}, false, "a simple bool")
|
||||
flag.IntVar(&i, []string{"#integer", "-integer"}, -1, "a simple integer")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue