summaryrefslogtreecommitdiffstats
path: root/new_project.sh
diff options
context:
space:
mode:
authorChristopher Browne <cbbrowne@ca.afilias.info>2016-04-27 12:34:54 -0400
committerChristopher Browne <cbbrowne@ca.afilias.info>2016-04-27 12:34:54 -0400
commitf59c4b03facd80cab913c6612a899392dd42ebb8 (patch)
treea6f0bcb584fcc6e6cc31261bafdc4f43b2fa7dfc /new_project.sh
parent6ec6b613536b7138ee0c87002b10da8fe0c0117d (diff)
parentce75a7675e10e24e7ecd7bc3575c0e0fc1bc34b5 (diff)
Merge branch 'master' of https://github.com/jackhumbert/qmk_firmware
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 28de9c2f9f..7def543188 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)}')