Return 1 exit code if there are no args provided.

This commit is contained in:
Alexander Andreev 2023-12-09 19:04:26 +04:00
parent 32dba480ee
commit 3d492e26ae
Signed by: Arav
GPG Key ID: D22A817D95815393

View File

@ -31,7 +31,7 @@ func main() {
if len(os.Args) < 2 {
usage()
os.Exit(0)
os.Exit(1)
}
var cmd commands.Command