summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2006-10-11 21:53:36 (GMT)
committerJunio C Hamano <junkio@cox.net>2006-10-11 22:24:18 (GMT)
commitb203b769f2f382307f21b4a021ce08f9a4cfa94c (patch)
tree7ba0d691ab3fe6b6118a697fa0e8c8afd2544525
parente8f5d9081cecff026913702dff8254d03e8f08b8 (diff)
downloadgit-b203b769f2f382307f21b4a021ce08f9a4cfa94c.zip
git-b203b769f2f382307f21b4a021ce08f9a4cfa94c.tar.gz
git-b203b769f2f382307f21b4a021ce08f9a4cfa94c.tar.bz2
git-svn: -h(elp) message formatting fixes
'graft-branches' is slightly longer than the rest of the commands, so the text was squished together in the formatted output. This patch just adds some more whitespace to make the text look more pleasant. Signed-off-by: Eric Wong <normalperson@yhbt.net> Signed-off-by: Junio C Hamano <junkio@cox.net>
-rwxr-xr-xgit-svn.perl4
1 files changed, 2 insertions, 2 deletions
diff --git a/git-svn.perl b/git-svn.perl
index 4f6e6a3..84d2c58 100755
--- a/git-svn.perl
+++ b/git-svn.perl
@@ -169,11 +169,11 @@ Usage: $0 <command> [options] [arguments]\n
foreach (sort keys %cmd) {
next if $cmd && $cmd ne $_;
- print $fd ' ',pack('A13',$_),$cmd{$_}->[1],"\n";
+ print $fd ' ',pack('A17',$_),$cmd{$_}->[1],"\n";
foreach (keys %{$cmd{$_}->[2]}) {
# prints out arguments as they should be passed:
my $x = s#[:=]s$## ? '<arg>' : s#[:=]i$## ? '<num>' : '';
- print $fd ' ' x 17, join(', ', map { length $_ > 1 ?
+ print $fd ' ' x 21, join(', ', map { length $_ > 1 ?
"--$_" : "-$_" }
split /\|/,$_)," $x\n";
}