Return 1 exit code if there are no args provided.
This commit is contained in:
parent
32dba480ee
commit
3d492e26ae
@ -31,7 +31,7 @@ func main() {
|
|||||||
|
|
||||||
if len(os.Args) < 2 {
|
if len(os.Args) < 2 {
|
||||||
usage()
|
usage()
|
||||||
os.Exit(0)
|
os.Exit(1)
|
||||||
}
|
}
|
||||||
|
|
||||||
var cmd commands.Command
|
var cmd commands.Command
|
||||||
|
Loading…
Reference in New Issue
Block a user