(minor) help command usage message changed

redis
Sitaram Chamarty 2012-03-20 16:52:38 +05:30
parent f0355d749b
commit 43f95f9b22
2 changed files with 5 additions and 1 deletions

View File

@ -7,9 +7,12 @@ use Gitolite::Rc;
use Gitolite::Common;
=for usage
Usage: gitolite help
Usage: ssh git@host help # via ssh
gitolite help # directly on server command line
Prints a list of custom commands available at this gitolite installation.
Each command has its own help, accessed by passing it '-h' again.
=cut
usage() if @ARGV;

1
t/glt
View File

@ -10,6 +10,7 @@ my $user = shift or die "need user";
my $rc;
my %extcmds = (
help => 1,
info => 1,
perms => 1,
);