Skip to content
Browse files

gl-admin-push learns '-h'

  • Loading branch information...
1 parent 1019b43 commit e6586cb6a58bfddc2b1cebd5103293029b00d15e @sitaramc committed
Showing with 9 additions and 0 deletions.
  1. +9 −0 src/gl-admin-push
View
9 src/gl-admin-push
@@ -1,6 +1,15 @@
#!/bin/sh
die() { echo "$@" >&2; exit 1; }
+if [ "$1" = "-h" ]
+then
+ echo Usage:
+ echo " gl-admin-push [any options applicable to 'git push' command]"
+ echo
+ echo "Please see the 'gl-admin-push: ...' section in doc/tips-notes.mkd (Online at"
+ echo " http://sitaramc.github.com/gitolite/adminpush.html)"
+ exit 1
+fi
# ----------

0 comments on commit e6586cb

Please sign in to comment.
Something went wrong with that request. Please try again.