diff options
author | Gary Sneed <gary@getcobalt.org> | 2024-10-25 21:14:02 -0700 |
---|---|---|
committer | Gary Sneed <gary@getcobalt.org> | 2024-10-25 21:14:02 -0700 |
commit | 77bfeea29daa4fa8315e839a7f22bc342f675320 (patch) | |
tree | 8a420254885925fc8cf94e8cb6c8b19bcc051593 | |
parent | 2248e57c52771e3c5b2905ebf0c9d2ec18e88113 (diff) |
Improve usage information
-rwxr-xr-x | get_version.sh | 2 | ||||
-rwxr-xr-x | launch.sh | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/get_version.sh b/get_version.sh index 8e777eb..cae7101 100755 --- a/get_version.sh +++ b/get_version.sh @@ -3,7 +3,7 @@ # Only accepts 1 argument: the Minecraft version to download LOOOKING_FOR= if [ -z "${1}" ]; then - echo "ERROR: Requires one argument (the Minecraft instance to launch)" + echo "usage: ${0} <version>" exit 1 else LOOKING_FOR="${1}" @@ -5,7 +5,8 @@ PLATFORM=$(uname -s | tr '[:upper:]' '[:lower:]') # Only accepts 1 argument: the Minecraft profile to launch INAME= if [ -z "${1}" ]; then - echo "ERROR: Requires one argument (the Minecraft instance to launch)" + echo "usage: ${0} <version>" + echo 'note: Make sure you downloaded a version first with get_version.sh' exit 1 else INAME="${1}" |