change option name to error-warning
@@ -24,7 +24,7 @@ type tcpOpts struct {
Warning float64 `short:"w" long:"warning" description:"Response time to result in warning status (seconds)"`
Critical float64 `short:"c" long:"critical" description:"Response time to result in critical status (seconds)"`
Escape bool `short:"E" long:"escape" description:"Can use \\n, \\r, \\t or \\ in send or quit string. Must come before send or quit option. By default, nothing added to send, \\r\\n added to end of quit"`
- ErrWarning bool `short:"W" long:"err-warning" description:"Set the error level to warning when exiting with unexpected error (default: critical). In the case of request succeeded, evaluation result of -c option eval takes priority."`
+ ErrWarning bool `short:"W" long:"error-warning" description:"Set the error level to warning when exiting with unexpected error (default: critical). In the case of request succeeded, evaluation result of -c option eval takes priority."`
}
type exchange struct {
