added error msg for no arguments

This commit is contained in:
NRK
2021-04-12 21:26:31 +06:00
parent cb10f9e1ea
commit 4ec761f4e2

2
sxbm
View File

@ -56,7 +56,7 @@ COMMANDS:
### main ###
############
[ -z "$1" ] && usage && die
[ -z "$1" ] && usage && die "No command given"
case "$1" in
"add")