Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

…t-hooks
  • Loading branch information...
commit 72eb2a7a967252a2e32199e77b37f94e60ed9271 1 parent 84098df
@icefox icefox authored
Showing with 8 additions and 2 deletions.
  1. +8 −2 git_hooks/helper/findstyleerrors.sh
View
10 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.
Something went wrong with that request. Please try again.