usage() needed some minor fixes...
This commit is contained in:
parent
32494cfa0c
commit
3f7edfea67
4 changed files with 8 additions and 17 deletions
|
@ -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";
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue