aboutsummaryrefslogtreecommitdiffstats
path: root/new_project.sh
diff options
context:
space:
mode:
Diffstat (limited to 'new_project.sh')
-rwxr-xr-xnew_project.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/new_project.sh b/new_project.sh
index 28de9c2f9..7def54318 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 "Usage: $0 <keyboard_name>"
+ exit 1
+fi
+
KEYBOARD=$1
KEYBOARD_UPPERCASE=$(echo $1 | awk '{print toupper($0)}')