hide default text for force cli flag
This commit is contained in:
parent
e7a6e395d7
commit
52a87a41da
|
@ -130,9 +130,10 @@ var (
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
&cli.BoolFlag{
|
&cli.BoolFlag{
|
||||||
Name: "force",
|
Name: "force",
|
||||||
Usage: "re-encrypt the file even if no changes have been made.",
|
Usage: "re-encrypt the file even if no changes have been made",
|
||||||
Aliases: []string{"f"},
|
Aliases: []string{"f"},
|
||||||
|
DisableDefaultText: true,
|
||||||
Action: func(ctx *cli.Context, b bool) error {
|
Action: func(ctx *cli.Context, b bool) error {
|
||||||
force_overwrite = b
|
force_overwrite = b
|
||||||
return nil
|
return nil
|
||||||
|
|
Loading…
Reference in a new issue