Skip to content

Commit

Permalink
Print grepip actual command name
Browse files Browse the repository at this point in the history
  • Loading branch information
UmanShahzad committed Mar 31, 2021
1 parent 2dfd930 commit 91f01e8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions grepip/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ var version = "1.0.0"

func printHelp() {
fmt.Printf(
`Usage: grepip [<opts>]
`Usage: %s [<opts>]
Options:
General:
Expand All @@ -37,7 +37,7 @@ Options:
--exclude-reserved, -x
exclude reserved/bogon IPs.
full list can be found at https://ipinfo.io/bogon.
`)
`, progBase)
}

func cmd() error {
Expand Down

0 comments on commit 91f01e8

Please sign in to comment.