From b26f56692ddb0d5c460fe171e0a417001657fbce Mon Sep 17 00:00:00 2001 From: OZAWA Sakuro Date: Mon, 2 Sep 2019 11:55:09 +0900 Subject: [PATCH] Surround mutually exclusive arguments with curly braces --- lib/commands/version_commands.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/commands/version_commands.sh b/lib/commands/version_commands.sh index adf9fb1c..47710ade 100644 --- a/lib/commands/version_commands.sh +++ b/lib/commands/version_commands.sh @@ -81,7 +81,7 @@ global_command() { # Output from this command must be executable shell code shell_command() { if [ "$#" -lt "2" ]; then - echo "Usage: asdf shell | --unset" >&2 + echo "Usage: asdf shell {|--unset}" >&2 echo 'false' exit 1 fi