diff options
author | skullY <skullydazed@gmail.com> | 2016-04-07 15:09:53 -0700 |
---|---|---|
committer | skullY <skullydazed@gmail.com> | 2016-04-07 15:09:53 -0700 |
commit | dc451b505bf6c21f3a423a299b112704b3b0092b (patch) | |
tree | 4882fe645b53e38267c6083d5d85c40ac94b88f0 | |
parent | 0da53d3811ed35f31f23219a61a67c09fe2860d9 (diff) |
Add a help message to new_project.sh
-rwxr-xr-x | new_project.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/new_project.sh b/new_project.sh index 28de9c2f9f..5ac935d782 100755 --- a/new_project.sh +++ b/new_project.sh @@ -2,6 +2,11 @@ # Script to make a new quantum project # Jack Humbert 2015 +if [ -z "$1" ]; then + echo "Usege: $0 <keyboard_name>" + exit 1 +fi + KEYBOARD=$1 KEYBOARD_UPPERCASE=$(echo $1 | awk '{print toupper($0)}') |