Permalink
Browse files

gl-tool learns '-h'

  • Loading branch information...
1 parent ee81c52 commit c50b0813f6070f074f495bde78b356c70adbb9a2 @sitaramc committed Feb 27, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/gl-tool
View
@@ -13,7 +13,7 @@ use gitolite_rc;
use gitolite;
sub usage { print <DATA>; exit 1; }
-usage() unless (@ARGV);
+usage() if (not @ARGV) or $ARGV[0] eq '-h';
my $cmd = shift;
my $pub = shift;

0 comments on commit c50b081

Please sign in to comment.