Skip to content

Commit

Permalink
Add description to usage
Browse files Browse the repository at this point in the history
  • Loading branch information
meowgorithm committed Dec 9, 2021
1 parent 485aa55 commit 0ecd198
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@ var (
)

func main() {
flag.Usage = func() {
fmt.Fprintf(os.Stderr, "Soft Serve, a self-hostable Git server for the command line.\n\n")
flag.PrintDefaults()
}

flag.Parse()

if *version {
Expand Down

0 comments on commit 0ecd198

Please sign in to comment.