Skip to content

Commit

Permalink
Fix usage message in AWS driver script
Browse files Browse the repository at this point in the history
  • Loading branch information
hiroTochigi committed Feb 8, 2024
1 parent 929c593 commit 2fee056
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/aws/driver.sh
Original file line number Diff line number Diff line change
@@ -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"
Expand Down Expand Up @@ -32,7 +32,7 @@ function driver() {
;;
*)
echo "Error: Invalid command."
awsUsage
awsUsage "${@:2}"
;;
esac

Expand Down

0 comments on commit 2fee056

Please sign in to comment.