cosmetic
authorThierry Parmentelat <thierry.parmentelat@inria.fr>
Fri, 8 Feb 2013 09:05:30 +0000 (10:05 +0100)
committerThierry Parmentelat <thierry.parmentelat@inria.fr>
Fri, 8 Feb 2013 09:05:30 +0000 (10:05 +0100)
partial-check.sh
partial-repo.sh

index fdb29f9..fe6f4f6 100755 (executable)
@@ -9,7 +9,8 @@ function usage () {
     exit 1
 }
 
-[[ -n "$@" ]] || usage
+[[ -z "$@" ]] || usage
+case "$1" in *-h*) usage ;; esac
 
 set -e 
 
index 674c951..703ee28 100755 (executable)
@@ -10,6 +10,7 @@ function usage () {
 }
 
 [[ -n "$@" ]] || usage
+case "$1" in *-h*) usage ;; esac
 
 set -e