From 52a87a41da88ce2caf9d849e43f0b69848936091 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lilian=20J=C3=B3nsd=C3=B3ttir?= Date: Tue, 26 Mar 2024 09:55:12 -0700 Subject: [PATCH] hide default text for force cli flag --- cmd/agedit/cli.go | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/cmd/agedit/cli.go b/cmd/agedit/cli.go index bf53b24..9b94da9 100644 --- a/cmd/agedit/cli.go +++ b/cmd/agedit/cli.go @@ -130,9 +130,10 @@ var ( }, }, &cli.BoolFlag{ - Name: "force", - Usage: "re-encrypt the file even if no changes have been made.", - Aliases: []string{"f"}, + Name: "force", + 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