Skip to content

Commit

Permalink
Merge pull request #114 from K3das/master
Browse files Browse the repository at this point in the history
make `myip` command not cache by default
  • Loading branch information
UmanShahzad authored Jul 20, 2022
2 parents c9c68ad + 44a34f6 commit 4d8df50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ipinfo/cmd_myip.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ func cmdMyIP() error {
var fCSV bool

pflag.StringVarP(&fTok, "token", "t", "", "the token to use.")
pflag.BoolVar(&fNoCache, "nocache", false, "disable the cache.")
pflag.BoolVar(&fNoCache, "nocache", true, "disable the cache.")
pflag.BoolVarP(&fHelp, "help", "h", false, "show help.")
pflag.StringSliceVarP(&fField, "field", "f", nil, "specific field to lookup.")
pflag.BoolVarP(&fPretty, "pretty", "p", true, "output pretty format.")
Expand Down

0 comments on commit 4d8df50

Please sign in to comment.