fix: clean up formatting on useage output
This commit is contained in:
2
mc
2
mc
@@ -95,7 +95,7 @@ function usage() {
|
||||
printf "Positional arguments will fill the JSON objects with values from left to right.\n\n"
|
||||
printf "COMMANDS:\n"
|
||||
for command in "${!commands[@]}"; do
|
||||
printf "\t ${command} $(rest $(rest ${commands[${command}]}))\n"
|
||||
echo -e "\t ${command} $(rest $(rest ${commands[${command}]}))" | sed 's/[":]//g' |sed 's/%s//g'| sed 's/[,]/ /g'
|
||||
done
|
||||
printf "\n"
|
||||
}
|
||||
|
Reference in New Issue
Block a user