mirror of
https://github.com/asdf-vm/asdf.git
synced 2024-11-15 09:38:16 -07:00
Surround mutually exclusive arguments with curly braces
This commit is contained in:
parent
503263a68d
commit
b26f56692d
@ -81,7 +81,7 @@ global_command() {
|
|||||||
# Output from this command must be executable shell code
|
# Output from this command must be executable shell code
|
||||||
shell_command() {
|
shell_command() {
|
||||||
if [ "$#" -lt "2" ]; then
|
if [ "$#" -lt "2" ]; then
|
||||||
echo "Usage: asdf shell <name> <version> | --unset" >&2
|
echo "Usage: asdf shell <name> {<version>|--unset}" >&2
|
||||||
echo 'false'
|
echo 'false'
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user