diff options
| author | Paul Buetow <paul@buetow.org> | 2025-04-06 21:27:31 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2025-04-06 21:27:31 +0300 |
| commit | 6ca3491f421e8506fa3ff832a51b3a7d8a5c7ef6 (patch) | |
| tree | 701d955b507929c8cb4b21c2fd40fe1ca12f3b0c /cmd | |
| parent | 70d0c28c24dd7b69b3d711574574f8b2a1d8ad0c (diff) | |
initial dumping in new ior data format
Diffstat (limited to 'cmd')
| -rw-r--r-- | cmd/ior/main.go | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/cmd/ior/main.go b/cmd/ior/main.go index 0f243f7..5e82283 100644 --- a/cmd/ior/main.go +++ b/cmd/ior/main.go @@ -1,8 +1,8 @@ package main import ( - "flag" "ior/internal" + "ior/internal/flags" "log" "runtime" ) @@ -13,13 +13,12 @@ func main() { if runtime.GOOS != "linux" { log.Fatal("Unsupported OS") } - + // Parse command-line flags - flag.Parse() - + flags.Parse() + // Run the internal logic of the application if err := internal.Run(); err != nil { log.Fatalf("Failed to run: %v", err) } } - |
