fix: format usage function.
This commit is contained in:
2
mc
2
mc
@@ -104,7 +104,7 @@ function main() {
|
|||||||
|
|
||||||
# Check if key does NOT exists in command array
|
# Check if key does NOT exists in command array
|
||||||
if [[ ! -v commands[$1] ]]; then
|
if [[ ! -v commands[$1] ]]; then
|
||||||
printf "${0}: invalid option -- $1\n"
|
printf "${0}: invalid option -- $1\n\n"
|
||||||
usage
|
usage
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
Reference in New Issue
Block a user