diff options
Diffstat (limited to 'cmd')
| -rw-r--r-- | cmd/ior/main.go | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/cmd/ior/main.go b/cmd/ior/main.go index 595f8f6..2b852f0 100644 --- a/cmd/ior/main.go +++ b/cmd/ior/main.go @@ -18,7 +18,10 @@ func main() { } // Parse command-line flags - flags.Parse() + if err := flags.Parse(); err != nil { + fmt.Printf("Failed to parse flags: %v\n", err) + os.Exit(2) + } // Run the internal logic of the application if err := internal.Run(); err != nil { |
