hide default text for force cli flag

This commit is contained in:
Lilian Jónsdóttir 2024-03-26 09:55:12 -07:00
parent e7a6e395d7
commit 52a87a41da

View file

@ -131,8 +131,9 @@ var (
},
&cli.BoolFlag{
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"},
DisableDefaultText: true,
Action: func(ctx *cli.Context, b bool) error {
force_overwrite = b
return nil