(arg string)
| 1072 | } |
| 1073 | |
| 1074 | func webInputError(arg string) error { |
| 1075 | errMsg := wski18n.T( |
| 1076 | "Invalid argument '{{.arg}}' for --web flag. Valid input consist of 'yes', 'true', 'raw', 'false', or 'no'.", |
| 1077 | map[string]interface{}{ |
| 1078 | "arg": arg, |
| 1079 | }) |
| 1080 | |
| 1081 | return nonNestedError(errMsg) |
| 1082 | } |
| 1083 | |
| 1084 | func webSecureUsageError() error { |
| 1085 | errMsg := wski18n.T("The --web-secure option is only valid when the --web option is enabled.") |
no test coverage detected