Skip to content
This repository was archived by the owner on Feb 16, 2023. It is now read-only.

Commit 50624b9

Browse files
committed
Add the suggestions provided in the review
1 parent 3510a18 commit 50624b9

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

internals/secrethub/tree.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,10 @@ func (cmd *TreeCommand) Register(r command.Registerer) {
5050
clause := r.Command("tree", "List contents of a directory in a tree-like format.")
5151
clause.Arg("dir-path", "The path to to show contents for").Required().PlaceHolder(optionalDirPathPlaceHolder).SetValue(&cmd.path)
5252

53-
clause.Flag("full-paths", "Print the full paths of the directories and secrets.").Short('f').BoolVar(&cmd.fullPaths)
54-
clause.Flag("no-indentation", "Print the content without indentation.").Short('i').BoolVar(&cmd.noIndentation)
55-
clause.Flag("no-report", "Skip the report at the bottom.").BoolVar(&cmd.noReport)
56-
clause.Flag("noreport", "Skip the report at the bottom.").BoolVar(&cmd.noReport)
53+
clause.Flag("full-paths", "Print the full path of each directory and secret.").Short('f').BoolVar(&cmd.fullPaths)
54+
clause.Flag("no-indentation", "Don't print indentation lines.").Short('i').BoolVar(&cmd.noIndentation)
55+
clause.Flag("no-report", "Turn off secret/directory count at end of tree listing.").BoolVar(&cmd.noReport)
56+
clause.Flag("noreport", "Turn off secret/directory count at end of tree listing.").Hidden().BoolVar(&cmd.noReport)
5757

5858
command.BindAction(clause, cmd.Run)
5959
}

0 commit comments

Comments
 (0)