Skip to content

Commit e165eb4

Browse files
committed
Make the --cpuprofile option hidden
Normal users don't need it.
1 parent 7bdfb18 commit e165eb4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

git-sizer.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ func mainImplementation() error {
101101
pflag.Lookup("no-progress").NoOptDefVal = "true"
102102

103103
pflag.StringVar(&cpuprofile, "cpuprofile", "", "write cpu profile to file")
104+
pflag.CommandLine.MarkHidden("cpuprofile")
104105

105106
pflag.CommandLine.SortFlags = false
106107

0 commit comments

Comments
 (0)