Skip to content

Commit c395aa5

Browse files
committed
fix: remove duplicated --verbose flag declaration for subcommands
It's already defined as a root command flag. Signed-off-by: Hoang Nguyen <[email protected]>
1 parent b1fce04 commit c395aa5

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

cmd/sops/main.go

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -390,10 +390,6 @@ For more information, see the README at https://github.com/getsops/sops`,
390390
Name: "recursive",
391391
Usage: "If the source path is a directory, publish all its content recursively",
392392
},
393-
&cli.BoolFlag{
394-
Name: "verbose",
395-
Usage: "Enable verbose logging output",
396-
},
397393
&cli.StringFlag{
398394
Name: "decryption-order",
399395
Usage: "comma separated list of decryption key types",
@@ -484,10 +480,6 @@ For more information, see the README at https://github.com/getsops/sops`,
484480
Name: "prompt",
485481
Usage: "Prompt user to confirm every incoming request",
486482
},
487-
&cli.BoolFlag{
488-
Name: "verbose",
489-
Usage: "Enable verbose logging output",
490-
},
491483
},
492484
Action: func(ctx context.Context, c *cli.Command) error {
493485
if c.Bool("verbose") {

0 commit comments

Comments
 (0)