{"thread":{"id":"31925","subject":"[PATCH] git-submodule: wrap branch option with \"<>\" in usage strings.","startedAt":"2012-10-23T21:00:21Z","lastAt":"2012-10-24T07:34:10Z","messageCount":2,"participants":["W. Trevor King","Jeff King"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"201755","messageId":"6332cbbfccd24f9d1ed37de424372ca354e9a4da.1351026021.git.wking@tremily.us","threadId":"31925","inReplyTo":null,"subject":"[PATCH] git-submodule: wrap branch option with \"<>\" in usage strings.","fromName":"W. Trevor King","fromEmail":"wking@tremily.us","sentAt":"2012-10-23T21:00:21Z","receivedAt":"2012-10-23T21:00:21Z","isPatch":true,"sender":{"key":"wking@tremily.us","avatar":"https://avatars.githubusercontent.com/u/209920?v=4"},"body":"From: \"W. Trevor King\" <wking@tremily.us>\n\nUse \"-b <branch>\" instead of \"-b branch\".  This brings the usage\nstrings in line with other options, e.g. \"--reference <repository>\".\n\nSigned-off-by: W. Trevor King <wking@tremily.us>\n---\n Documentation/git-submodule.txt | 2 +-\n git-submodule.sh                | 2 +-\n 2 files changed, 2 insertions(+), 2 deletions(-)\n\ndiff --git a/Documentation/git-submodule.txt b/Documentation/git-submodule.txt\nindex b4683bb..a65f38e 100644\n--- a/Documentation/git-submodule.txt\n+++ b/Documentation/git-submodule.txt\n@@ -9,7 +9,7 @@ git-submodule - Initialize, update or inspect submodules\n SYNOPSIS\n --------\n [verse]\n-'git submodule' [--quiet] add [-b branch] [-f|--force]\n+'git submodule' [--quiet] add [-b <branch>] [-f|--force]\n \t      [--reference <repository>] [--] <repository> [<path>]\n 'git submodule' [--quiet] status [--cached] [--recursive] [--] [<path>...]\n 'git submodule' [--quiet] init [--] [<path>...]\ndiff --git a/git-submodule.sh b/git-submodule.sh\nindex ab6b110..02f82e9 100755\n--- a/git-submodule.sh\n+++ b/git-submodule.sh\n@@ -5,7 +5,7 @@\n # Copyright (c) 2007 Lars Hjemli\n \n dashless=$(basename \"$0\" | sed -e 's/-/ /')\n-USAGE=\"[--quiet] add [-b branch] [-f|--force] [--reference <repository>] [--] <repository> [<path>]\n+USAGE=\"[--quiet] add [-b <branch>] [-f|--force] [--reference <repository>] [--] <repository> [<path>]\n    or: $dashless [--quiet] status [--cached] [--recursive] [--] [<path>...]\n    or: $dashless [--quiet] init [--] [<path>...]\n    or: $dashless [--quiet] update [--init] [-N|--no-fetch] [-f|--force] [--rebase] [--reference <repository>] [--merge] [--recursive] [--] [<path>...]\n-- \n1.8.0.2.g09b91ca\n"},{"id":"201797","messageId":"20121024073410.GA25774@sigill.intra.peff.net","threadId":"31925","inReplyTo":"6332cbbfccd24f9d1ed37de424372ca354e9a4da.1351026021.git.wking@tremily.us","subject":"Re: [PATCH] git-submodule: wrap branch option with \"<>\" in usage strings.","fromName":"Jeff King","fromEmail":"peff@peff.net","sentAt":"2012-10-24T07:34:10Z","receivedAt":"2012-10-24T07:34:10Z","isPatch":true,"sender":{"key":"peff@peff.net","avatar":"https://avatars.githubusercontent.com/u/45925?v=4"},"body":"On Tue, Oct 23, 2012 at 05:00:21PM -0400, W. Trevor King wrote:\n\n> From: \"W. Trevor King\" <wking@tremily.us>\n> \n> Use \"-b <branch>\" instead of \"-b branch\".  This brings the usage\n> strings in line with other options, e.g. \"--reference <repository>\".\n> \n> Signed-off-by: W. Trevor King <wking@tremily.us>\n\nThanks. Looks obviously correct to me.\n\n-Peff\n"}]}