Skip to content

Commit

Permalink
Help
Browse files Browse the repository at this point in the history
  • Loading branch information
maouw committed Oct 4, 2023
1 parent 474e4e5 commit 9a5f5b7
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions hyakvnc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
;;
Expand Down Expand Up @@ -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
;;
Expand Down Expand Up @@ -826,7 +826,7 @@ function cmd_stop {
# Parse arguments:
while true; do
case ${1:-} in
-h | --help | help)
-h | --help)
help_stop
return 0
;;
Expand Down Expand Up @@ -872,7 +872,7 @@ function cmd_show {
# Parse arguments:
while true; do
case "${1:-}" in
-h | --help | help)
-h | --help)
help_show
return 0
;;
Expand Down Expand Up @@ -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
done

0 comments on commit 9a5f5b7

Please sign in to comment.