Skip to content

Commit

Permalink
greplogs: default --dashboard and --md to true
Browse files Browse the repository at this point in the history
This improves the ergonomics of the command for Go dashboard triage,
eliminating the need to set two flags that are essentially always
useful.
  • Loading branch information
Bryan C. Mills committed May 2, 2022
1 parent 601e176 commit 67a9dd9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions greplogs/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ var (
failRegexps regexpList
omit regexpList

flagDashboard = flag.Bool("dashboard", false, "search dashboard logs from fetchlogs")
flagMD = flag.Bool("md", false, "output in Markdown")
flagDashboard = flag.Bool("dashboard", true, "search dashboard logs from fetchlogs")
flagMD = flag.Bool("md", true, "output in Markdown")
flagFilesOnly = flag.Bool("l", false, "print only names of matching files")
flagColor = flag.String("color", "auto", "highlight output in color: `mode` is never, always, or auto")

Expand Down

0 comments on commit 67a9dd9

Please sign in to comment.