Amélioration du message d'aide.
This commit is contained in:
parent
1773348da5
commit
26653ec97f
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user