Skip to content

Commit

Permalink
Usage to include hostname
Browse files Browse the repository at this point in the history
  • Loading branch information
axllent committed Mar 1, 2019
1 parent a9d0668 commit abce859
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion geoiplookup.go
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ func Lookup(lookup string) {
* Print the help function
*/
var Usage = func() {
fmt.Fprintf(os.Stderr, "Usage: %s [-i|-c] <ipaddress>\n", os.Args[0])
fmt.Fprintf(os.Stderr, "Usage: %s [-i|-c] <ipaddress|hostname>\n", os.Args[0])
flag.PrintDefaults()
}

Expand Down

0 comments on commit abce859

Please sign in to comment.