You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: utils.go
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -158,11 +158,11 @@ func parseFlags() {
158
158
}
159
159
if*verPtr {
160
160
fmt.Printf("aurora version: %.1f\r\n", Version)
161
-
os.Exit(1)
161
+
os.Exit(0)
162
162
}
163
163
if*helpPtr {
164
164
fmt.Printf("aurora version: %.1f\r\nCopyright (c) 2016 Ri Xu https://xuri.me \r\n\r\nUsage: aurora [OPTIONS] [cmd [arg ...]]\n -c <filename> Use config file. (default: aurora.toml)\r\n -h \t\t Output this help and exit.\r\n -v \t\t Output version and exit.\r\n", Version)
0 commit comments