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

@ -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