From dbdd27a805c2215f018039bf4f42f46d1bf0cd00 Mon Sep 17 00:00:00 2001 From: hiroTochigi Date: Wed, 7 Feb 2024 21:51:03 -0600 Subject: [PATCH] Fix invalid command error message in awsUsage function --- src/aws/driver.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/aws/driver.sh b/src/aws/driver.sh index 439d521a..f7ff67c9 100755 --- a/src/aws/driver.sh +++ b/src/aws/driver.sh @@ -1,6 +1,6 @@ awsUsage() { - echo "Usage: $0 $1 [command]" + echo "Usage: $0 "$1" [command]" echo "Commands:" echo " init - Verify AWS CLI installation, SSH key existence, and defines functions for SSH key import and port addition in AWS EC2" echo " delete - deletes an AWS EC2 instance and its related resources, identified by a given "balloon name", and handles associated cleanup tasks such as removing SSH tunnels and deleting security keys" @@ -32,7 +32,7 @@ function driver() { ;; *) echo "Error: Invalid command." - awsUsage "${@:2}" + awsUsage ;; esac