From f5784609005e9c4491087961649d30161b26a590 Mon Sep 17 00:00:00 2001 From: ilguappo Date: Fri, 18 Jul 2025 03:20:42 -0700 Subject: [PATCH] fix: clean up formatting on useage output --- mc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mc b/mc index a2d875c..d544f2f 100755 --- a/mc +++ b/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" }