Skip to content

Commit

Permalink
Fix help output
Browse files Browse the repository at this point in the history
  • Loading branch information
erkannt committed Sep 23, 2023
1 parent 2d28f1d commit 8d97f48
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ $ cycletime --exclude=bot --days 14 -gh
## Usage
```
$ cycletime -h
Usage: cycletime [--exclude=AUTHOR_REGEX] [--days=DAYS_TO_LOOK_BACK] [PATH]
Usage: cycletime [flags] [PATH]
Hours between first and last commit tagged with an issue number
Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ func main() {
githubFlag := flag.Bool("gh", false, "Use gh cli to obtain issue titles")

flag.Usage = func() {
fmt.Print("Usage: cycletime [--exclude=AUTHOR_REGEX] [--days=DAYS_TO_LOOK_BACK] [PATH]\n\n")
fmt.Print("Usage: cycletime [flags] [PATH]\n\n")
fmt.Print("Hours between first and last commit tagged with an issue number\n\n")
fmt.Print("PATH defaults to the current working directory\n\n")
flag.PrintDefaults()
Expand Down

0 comments on commit 8d97f48

Please sign in to comment.