Skip to content

Commit

Permalink
fix: address
Browse files Browse the repository at this point in the history
  • Loading branch information
hacdias committed May 20, 2019
1 parent 788fadb commit b3a822b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/root.go
Expand Up @@ -194,7 +194,7 @@ func getRunParams(flags *pflag.FlagSet, st *storage.Storage) *settings.Server {
}

if isAddrSet && isSocketSet {
checkErr(errors.New("--socket flag cannot be used with --adress, --port, --key nor --cert"))
checkErr(errors.New("--socket flag cannot be used with --address, --port, --key nor --cert"))
}

// Do not use saved Socket if address was manually set.
Expand Down

0 comments on commit b3a822b

Please sign in to comment.