summaryrefslogtreecommitdiffstats
path: root/new_project.sh
diff options
context:
space:
mode:
authorJack Humbert <jack.humb@gmail.com>2016-04-26 13:48:36 -0400
committerJack Humbert <jack.humb@gmail.com>2016-04-26 13:48:36 -0400
commitc37d52d2137acf5739c481cc0c8917ad6fd77161 (patch)
tree2fdaf2f195094efbd9fe0680579cf85602e5584c /new_project.sh
parent0edc7a9d87ecbbce580cbbd0b0fffaad24f37f83 (diff)
parent27e3294909175dea1ae8618cace8f50d33e1dc98 (diff)
resolves conflicts in rgblight.c
# Conflicts: # quantum/rgblight.c
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)}')