Skip to content

Commit 28daf92

Browse files
author
Joshua Anderson
committed
fix(deisctl): return 0 when only printing version
1 parent 68415ae commit 28daf92

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

deisctl/deisctl.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,8 @@ Options:
6464
if helpFlag {
6565
fmt.Print(usage)
6666
return 0
67+
} else if argv[0] == "--version" {
68+
return 0
6769
}
6870
return 1
6971
}

0 commit comments

Comments
 (0)