From: Dan Poltawski Date: Wed, 6 Mar 2013 02:50:33 +0000 (+0800) Subject: Add quotes around incorrect command name X-Git-Tag: v0.4.1~12^2 X-Git-Url: https://git.cameron1729.xyz/?a=commitdiff_plain;h=e2a8995682e4a1709daff0356b15e18d89ae2d99;p=mdk.git Add quotes around incorrect command name The problem I was facing was that I couldn't tell that I was typing the wrong command. --- diff --git a/moodle b/moodle index 130f627..284dafb 100755 --- a/moodle +++ b/moodle @@ -73,11 +73,11 @@ BIN=`resolve $COMMAND` if [ $? == 1 ] then - echo "Unknown Moodle command $1..." + echo "Unknown Moodle command '$1'..." exit 1 elif [ ! -x "$BIN" ] then - echo "Permission denied. $BIN is not executable." + echo "Permission denied. '$BIN' is not executable." exit 1 fi