diff --git a/main.go b/main.go index d9d6eef..f6d4b9b 100644 --- a/main.go +++ b/main.go @@ -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")