Skip to content

Commit

Permalink
Merge pull request #27 from paganotoni/fix-26
Browse files Browse the repository at this point in the history
fix: fixing issue with unexisting command #26
  • Loading branch information
paganotoni authored Jun 4, 2024
2 parents 1209a2b + 4cf95d7 commit a6de499
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/doco/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ func main() {
case "help":
printHelp(os.Stdout)
default:
fmt.Printf("Unknown command %s\n", args[1])
fmt.Printf("Unknown command %s\n", args[0])
fmt.Println("--------")
printHelp(os.Stdout)
}
Expand Down

0 comments on commit a6de499

Please sign in to comment.