summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSitaram Chamarty <sitaram@atc.tcs.com>2012-03-19 21:34:07 +0530
committerSitaram Chamarty <sitaram@atc.tcs.com>2012-03-24 10:30:44 +0530
commit3f7edfea672c6736ff9a85b6064bde5524c0d707 (patch)
tree1e630737303fb2ae107b340156db98bf70ace505 /src/commands/info
parentinfo learned '-p' and pattern limiting. (diff)
downloadgitolite-gentoo-3f7edfea672c6736ff9a85b6064bde5524c0d707.tar.gz
gitolite-gentoo-3f7edfea672c6736ff9a85b6064bde5524c0d707.tar.bz2
gitolite-gentoo-3f7edfea672c6736ff9a85b6064bde5524c0d707.zip
usage() needed some minor fixes...
Diffstat (limited to 'src/commands/info')
-rwxr-xr-xsrc/commands/info2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands/info b/src/commands/info
index 92efe81..5a50e9e 100755
--- a/src/commands/info
+++ b/src/commands/info
@@ -29,7 +29,7 @@ GetOptions(
'h' => \$help,
) or usage();
-usage() if @ARGV > 1;
+usage() if @ARGV > 1 or $help;
$patt = shift || '.';
my $user = $ENV{GL_USER} or _die "GL_USER not set";