commit 26653ec97fec536a9e57e5393fcecf01c9b9555b parent 1773348da5645e1c4840217e07d2f5ef1e97a40a Author: Georges Dupéron <jahvascriptmaniac+github@free.fr> Date: Thu, 19 Aug 2010 05:05:12 +0200 Amélioration du message d'aide. Diffstat:
| M | git-hist.sh | | | 3 | ++- |
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/git-hist.sh b/git-hist.sh @@ -14,8 +14,9 @@ # * git whatchanged --follow galerie-index.php | grep '^\(:\|commit \)' file="$1" -if [ -z $file ]; then +if [ -z "$file" -o "$file" == "--help" -o "$file" == "-h" ]; then echo "Usage : $0 filename" + echo "You must be in a directory versionned with git for this to work." exit 1 fi