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

[PATCH 2/2] remote set-head: show long options in usage

From
Philip Oakley <philipoakley@iee.org>
Date
Sep 21, 2013, 15:51 UTC
Message-ID
<1379778706-5664-3-git-send-email-philipoakley@iee.org>
In-Reply-To
<1379778706-5664-1-git-send-email-philipoakley@iee.org>
Signed-off-by: Philip Oakley <philipoakley@iee.org>
---
 builtin/remote.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/builtin/remote.c b/builtin/remote.c
index eaac3e2..4e14891 100644
--- a/builtin/remote.c
+++ b/builtin/remote.c
@@ -12,7 +12,7 @@ static const char * const builtin_remote_usage[] = {
 	N_("git remote add [-t <branch>] [-m <master>] [-f] [--tags|--no-tags] [--mirror=<fetch|push>] <name> <url>"),
 	N_("git remote rename <old> <new>"),
 	N_("git remote remove <name>"),
-	N_("git remote set-head <name> (-a | -d | <branch>)"),
+	N_("git remote set-head <name> (-a | --auto | -d | --delete |<branch>)"),
 	N_("git remote [-v | --verbose] show [-n] <name>"),
 	N_("git remote prune [-n | --dry-run] <name>"),
 	N_("git remote [-v | --verbose] update [-p | --prune] [(<group> | <remote>)...]"),
@@ -39,7 +39,7 @@ static const char * const builtin_remote_rm_usage[] = {
 };
 
 static const char * const builtin_remote_sethead_usage[] = {
-	N_("git remote set-head <name> (-a | -d | <branch>)"),
+	N_("git remote set-head <name> (-a | --auto | -d | --delete | <branch>)"),
 	NULL
 };
 
-- 
1.8.1.msysgit.1
Previous: Philip OakleyNext: Jonathan Nieder
Message 3 of 4 in “Update 'git remote set-head' doc and uasage”
  1. 0/2 Update 'git remote set-head' doc and uasagePhilip Oakley, Sep 21, 2013
  2. 1/2 Doc: remote set-head long optionsPhilip Oakley, Sep 21, 2013
  3. 2/2 remote set-head: show long options in usagePhilip Oakley, Sep 21, 2013
  4. Jonathan NiederSep 27, 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.