summaryrefslogtreecommitdiff
path: root/g
diff options
context:
space:
mode:
authorPeter Foley <pefoley2@verizon.net>2012-10-16 20:43:21 -0400
committerPeter Foley <pefoley2@verizon.net>2012-10-16 20:46:22 -0400
commit41b5c80add33a59222dab06277fad4ec2e1f7183 (patch)
treea9744c7f676bed87ab20bf416794770c25756695 /g
parent96336f30092a84c8314ee29fd245b71ec24c4a49 (diff)
cleanup ./g output
Change-Id: I84a775ceb983ad21d4585a3c3718f99bbac5a282
Diffstat (limited to 'g')
-rwxr-xr-xg6
1 files changed, 4 insertions, 2 deletions
diff --git a/g b/g
index aa53015f9f8b..911227422c49 100755
--- a/g
+++ b/g
@@ -19,7 +19,7 @@ usage()
echo
echo "Usage: g [options] [git (checkout|clone|fetch|grep|pull|push|reset) [git options/args..]]"
echo ""
- echo " -z restaure the git hooks and others sanity checks"
+ echo " -z restore the git hooks and do other sanity checks"
}
refresh_submodule_hooks()
@@ -323,8 +323,10 @@ case "$COMMAND" in
tag)
do_git_cmd ${COMMAND} "$@"
;;
+ "")
+ ;;
*)
- echo "./g does not support command:$COMMAND" 1>&2
+ echo "./g does not support command: $COMMAND" 1>&2
exit 1;
;;
esac