Skip to content

Commit dc8ec03

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 2ee023c commit dc8ec03

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
@@ -408,10 +408,6 @@ For more information, see the README at https://github.com/getsops/sops`,
408408
Name: "recursive",
409409
Usage: "If the source path is a directory, publish all its content recursively",
410410
},
411-
&cli.BoolFlag{
412-
Name: "verbose",
413-
Usage: "Enable verbose logging output",
414-
},
415411
&cli.StringFlag{
416412
Name: "decryption-order",
417413
Usage: "comma separated list of decryption key types",
@@ -502,10 +498,6 @@ For more information, see the README at https://github.com/getsops/sops`,
502498
Name: "prompt",
503499
Usage: "Prompt user to confirm every incoming request",
504500
},
505-
&cli.BoolFlag{
506-
Name: "verbose",
507-
Usage: "Enable verbose logging output",
508-
},
509501
},
510502
Action: func(ctx context.Context, c *cli.Command) error {
511503
if c.Bool("verbose") {

0 commit comments

Comments
 (0)