git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH 2/2] git-svn: -h(elp) message formatting fixes

From
EWEric Wong <normalperson@yhbt.net>
Date
Oct 11, 2006, 21:53 UTC
Message-ID
<11606036173604-git-send-email-normalperson@yhbt.net>
In-Reply-To
<1160603616126-git-send-email-normalperson@yhbt.net>

'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>
---
 git-svn.perl |    4 ++--
 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
 
 	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";
 		}
-- 
1.4.3.rc2.gbe730
Previous: Eric Wong
Message 2 of 2 in “Documentation/git-svn: document some of the newer features”
  1. 1/2 Documentation/git-svn: document some of the newer featuresEric Wong, Oct 11, 2006
  2. 2/2 git-svn: -h(elp) message formatting fixesEric Wong, Oct 11, 2006

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.