Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

gl-tool learns '-h'

  • Loading branch information...
commit c50b0813f6070f074f495bde78b356c70adbb9a2 1 parent ee81c52
Sitaram Chamarty authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  src/gl-tool
2  src/gl-tool
@@ -13,7 +13,7 @@ use gitolite_rc;
13 13
 use gitolite;
14 14
 
15 15
 sub usage { print <DATA>; exit 1; }
16  
-usage() unless (@ARGV);
  16
+usage() if (not @ARGV) or $ARGV[0] eq '-h';
17 17
 
18 18
 my $cmd = shift;
19 19
 my $pub = shift;

0 notes on commit c50b081

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