fix: clean up formatting on useage output

This commit is contained in:
2025-07-18 03:20:42 -07:00
parent 00b78330d7
commit f578460900

2
mc
View File

@@ -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"
}