From 258be5e56a133a9f4c4075c8d7ed1845ea326899 Mon Sep 17 00:00:00 2001 From: Titouan Rigoudy Date: Sat, 27 Sep 2014 02:18:26 -0400 Subject: [PATCH] Add error messages to hr --- hr | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/hr b/hr index f181565..6a423e1 100644 --- a/hr +++ b/hr @@ -4,10 +4,14 @@ new() { case "$1" in "py") mkdir "$2" && cp skel.py "$2/$2.py" ;; + *) + echo "Unknown command: new $1" ;; esac } case "$1" in "new") new "${@:2}" ;; + *) + echo "Unknown command: $1" ;; esac \ No newline at end of file