(format string, values ...any)
| 156 | } |
| 157 | |
| 158 | func printUsageErrorAndExit(format string, values ...any) { |
| 159 | fmt.Fprintf(os.Stderr, "ERROR: %s\n", fmt.Sprintf(format, values...)) |
| 160 | fmt.Fprintln(os.Stderr) |
| 161 | fmt.Fprintln(os.Stderr, "Available command line options:") |
| 162 | flag.PrintDefaults() |
| 163 | os.Exit(64) |
| 164 | } |