Permalink
Browse files

Handle --about argument so not to cause garbage on the console for gi…

…t-hooks
  • Loading branch information...
1 parent 84098df commit 72eb2a7a967252a2e32199e77b37f94e60ed9271 @icefox icefox committed Jun 19, 2010
Showing with 8 additions and 2 deletions.
  1. +8 −2 git_hooks/helper/findstyleerrors.sh
@@ -1,10 +1,16 @@
#!/bin/sh
#
-# Hack of a script to find some common style errors
-#
# Coding style: http://code.google.com/p/arora/wiki/CodingStyle
#
+case "${1}" in
+ --about )
+ echo "Hack of a script to find some common style errors."
+ exit 0
+ ;;
+esac
+
+
args=$1
if [ -z "${args}" ] ; then
args="*"

0 comments on commit 72eb2a7

Please sign in to comment.