gl-tool learns '-h'

This commit is contained in:
Sitaram Chamarty 2012-02-27 19:56:25 +05:30
parent ee81c52e80
commit c50b0813f6

View file

@ -13,7 +13,7 @@ use gitolite_rc;
use gitolite; use gitolite;
sub usage { print <DATA>; exit 1; } sub usage { print <DATA>; exit 1; }
usage() unless (@ARGV); usage() if (not @ARGV) or $ARGV[0] eq '-h';
my $cmd = shift; my $cmd = shift;
my $pub = shift; my $pub = shift;