usage() needed some minor fixes...

This commit is contained in:
Sitaram Chamarty 2012-03-19 21:34:07 +05:30
parent 32494cfa0c
commit 3f7edfea67
4 changed files with 8 additions and 17 deletions

View file

@ -12,6 +12,8 @@ Usage: gitolite help
Prints a list of custom commands available at this gitolite installation.
=cut
usage() if @ARGV;
my $user = $ENV{GL_USER} || '';
print "hello" . ( $user ? " $user" : "" ) . ", this is gitolite3 " . version() . " on git " . substr( `git --version`, 12 ) . "\n";