Skip to content

Commit

Permalink
udpate example in usage and formating of the version
Browse files Browse the repository at this point in the history
  • Loading branch information
ArunMurugan78 committed Dec 15, 2021
1 parent e6fb006 commit 0aea5c5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ import (
)

const (
version = "1.0.0"
version = "v1.0.0"
)

func main() {

flag.Usage = func() {
fmt.Println("Usage:\n\trtry [OPTIONS] COMMAND\nExample:\n\trtry \"echo Hello there!\"\nOptions:")
fmt.Println("Usage:\n\trtry [OPTIONS] COMMAND\nExample:\n\trtry \"ping google.com\"\nOptions:")
flag.PrintDefaults()
}

Expand Down

0 comments on commit 0aea5c5

Please sign in to comment.