summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xnew_project.sh5
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)}')