From 9a5f5b74ef22feeaa46ec62642965eda9bc9df7d Mon Sep 17 00:00:00 2001 From: Altan Orhon Date: Tue, 3 Oct 2023 17:01:22 -0700 Subject: [PATCH] Help --- hyakvnc.sh | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/hyakvnc.sh b/hyakvnc.sh index 22491b3..1af5a50 100755 --- a/hyakvnc.sh +++ b/hyakvnc.sh @@ -474,7 +474,7 @@ function cmd_create { local container_basename container_name start while true; do case ${1:-} in - -h | --help | help) + -h | --help) help_create return 0 ;; @@ -730,7 +730,7 @@ function cmd_status { local account running_jobid running_jobids while true; do case ${1:-} in - -h | --help | help) + -h | --help) help_status return 0 ;; @@ -826,7 +826,7 @@ function cmd_stop { # Parse arguments: while true; do case ${1:-} in - -h | --help | help) + -h | --help) help_stop return 0 ;; @@ -872,7 +872,7 @@ function cmd_show { # Parse arguments: while true; do case "${1:-}" in - -h | --help | help) + -h | --help) help_show return 0 ;; @@ -1008,10 +1008,11 @@ while true; do help_show "$@" exit 0 ;; - *) log ERROR "Unknown command: ${1:-}" + *) + log ERROR "Unknown command: ${1:-}" echo cmd_help exit 1 ;; esac -done \ No newline at end of file +done