Skip to content

Commit

Permalink
cli: allow passing --author (#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
unknwon committed Sep 26, 2022
1 parent b8b90a3 commit 54e4320
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ func cliOptions(stdout io.Writer, args []string) (*options, error) {
flags.StringVar(&opts.cwd, "cwd", "", "The working directory to use.")
flags.StringVar(&opts.baseRef, "baseRef", "", "The base ref to use when computing the file diff.")
flags.StringVar(&opts.headRef, "headRef", "HEAD", "The head ref to use when computing the file diff.")
flags.StringVar(&opts.author, "author", "", "The author of the diff.")
flags.StringVar(&opts.format, "format", "text", "The format of the output: text or markdown")
flags.StringVar(&opts.filename, "filename", "CODENOTIFY", "The filename in which file subscribers are defined")
flags.IntVar(&opts.subscriberThreshold, "subscriber-threshold", 0, "The threshold of notifying subscribers")
Expand Down

0 comments on commit 54e4320

Please sign in to comment.