summaryrefslogtreecommitdiffstats
path: root/cmd/ship/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/ship/main.go')
-rw-r--r--cmd/ship/main.go9
1 files changed, 3 insertions, 6 deletions
diff --git a/cmd/ship/main.go b/cmd/ship/main.go
index f7d95c1..17516fb 100644
--- a/cmd/ship/main.go
+++ b/cmd/ship/main.go
@@ -1,13 +1,10 @@
1package main 1package main
2 2
3import ( 3import "os"
4 "fmt"
5 "os"
6)
7 4
8func main() { 5func main() {
9 if err := rootCmd.Execute(); err != nil { 6 initV2()
10 fmt.Fprintf(os.Stderr, "Error: %v\n", err) 7 if err := rootV2Cmd.Execute(); err != nil {
11 os.Exit(1) 8 os.Exit(1)
12 } 9 }
13} 10}