From 43f95f9b227eb9b294415f93c65c80e55f2d5ef9 Mon Sep 17 00:00:00 2001 From: Sitaram Chamarty Date: Tue, 20 Mar 2012 16:52:38 +0530 Subject: [PATCH] (minor) help command usage message changed --- src/commands/help | 5 ++++- t/glt | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/commands/help b/src/commands/help index cb7b2f3..f954f8e 100755 --- a/src/commands/help +++ b/src/commands/help @@ -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; diff --git a/t/glt b/t/glt index b1cf4fe..5b33f62 100755 --- a/t/glt +++ b/t/glt @@ -10,6 +10,7 @@ my $user = shift or die "need user"; my $rc; my %extcmds = ( + help => 1, info => 1, perms => 1, );