From c50b0813f6070f074f495bde78b356c70adbb9a2 Mon Sep 17 00:00:00 2001 From: Sitaram Chamarty Date: Mon, 27 Feb 2012 19:56:25 +0530 Subject: [PATCH] gl-tool learns '-h' --- src/gl-tool | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gl-tool b/src/gl-tool index 256a47a..d95a3bc 100755 --- a/src/gl-tool +++ b/src/gl-tool @@ -13,7 +13,7 @@ use gitolite_rc; use gitolite; sub usage { print ; exit 1; } -usage() unless (@ARGV); +usage() if (not @ARGV) or $ARGV[0] eq '-h'; my $cmd = shift; my $pub = shift;