From 48c74fc6a26a70b3a0b1f9d21127e5b2c3f43b64 Mon Sep 17 00:00:00 2001 From: Aidan Date: Wed, 13 Nov 2024 15:14:42 -0500 Subject: [PATCH] fix space on invalid command, remove unused option mention in help --- manage | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/manage b/manage index 38f8a16..11ea6ad 100755 --- a/manage +++ b/manage @@ -60,7 +60,7 @@ function install_tools() { function show_help() { echo -e "${COLOR_GREEN}manage version:${COLOR_RESET} ${COLOR_BLUE}${SC_VERSION} ${SC_CODENAME}${COLOR_RESET}" - echo -e "${COLOR_BLUE}Usage:${COLOR_RESET} ./manage [command] [options]\n" + echo -e "${COLOR_BLUE}Usage:${COLOR_RESET} ./manage [command]\n" echo -e "${COLOR_YELLOW}Commands:${COLOR_RESET}" echo -e " ${COLOR_CYAN}help, -h, --help${COLOR_RESET} Shows this help message." echo -e " ${COLOR_CYAN}up${COLOR_RESET} Builds the project and starts the server." @@ -347,7 +347,7 @@ case $1 in ;; *) check_setup - echo -e "${COLOR_RED}Invalid command: $1${COLOR_RESET}" + echo -e "${COLOR_RED}Invalid command: $1\n${COLOR_RESET}" show_help ;; esac \ No newline at end of file