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

[PATCH 1/4] git-svn: use a lowercase "usage:" string

From
David Aguilar <davvid@gmail.com>
Date
Feb 24, 2013, 22:48 UTC
Message-ID
<1361746121-56921-1-git-send-email-davvid@gmail.com>
Make the usage string consistent with Git.
Signed-off-by: David Aguilar <davvid@gmail.com>
---
I'm not sure why this wasn't caught in my first round.
It should probably be squashed into the 02/16 from v2.
 git-svn.perl | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/git-svn.perl b/git-svn.perl
index a93166f..6c7bd95 100755
--- a/git-svn.perl
+++ b/git-svn.perl
@@ -534,7 +534,7 @@ sub cmd_fetch {
 	}
 	my ($remote) = @_;
 	if (@_ > 1) {
-		die "Usage: $0 fetch [--all] [--parent] [svn-remote]\n";
+		die "usage: $0 fetch [--all] [--parent] [svn-remote]\n";
 	}
 	$Git::SVN::no_reuse_existing = undef;
 	if ($_fetch_parent) {
@@ -1404,7 +1404,7 @@ sub cmd_multi_fetch {
 # this command is special because it requires no metadata
 sub cmd_commit_diff {
 	my ($ta, $tb, $url) = @_;
-	my $usage = "Usage: $0 commit-diff -r<revision> ".
+	my $usage = "usage: $0 commit-diff -r<revision> ".
 	            "<tree-ish> <tree-ish> [<URL>]";
 	fatal($usage) if (!defined $ta || !defined $tb);
 	my $svn_path = '';
-- 
1.7.12.4 (Apple Git-37)
Next: David Aguilar
Message 1 of 4 in “git-svn: use a lowercase "usage:" string”
  1. 1/4 git-svn: use a lowercase "usage:" stringDavid Aguilar, Feb 24, 2013
  2. 2/4 tests: use a lowercase "usage:" stringDavid Aguilar, Feb 24, 2013
  3. 3/4 contrib/examples/git-remote.perl: use a lowercase "usage:" stringDavid Aguilar, Feb 24, 2013
  4. 4/4 contrib/mw-to-git/t/install-wiki.sh: use a lowercase "usage:" stringDavid Aguilar, Feb 24, 2013

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.