summaryrefslogtreecommitdiff
path: root/builtin
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2012-04-23 19:39:17 (GMT)
committerJunio C Hamano <gitster@pobox.com>2012-04-23 19:39:18 (GMT)
commit29a03fa5625433e5fc90da2f823b4277960537ae (patch)
treeb3b473d048a6eba29c609436f36eaa76f9bf6145 /builtin
parent1f643446598c3727b506a46d88f734b13e90dc77 (diff)
parent31558fd48ea5911766781e676504d07eb70eeee5 (diff)
downloadgit-29a03fa5625433e5fc90da2f823b4277960537ae.zip
git-29a03fa5625433e5fc90da2f823b4277960537ae.tar.gz
git-29a03fa5625433e5fc90da2f823b4277960537ae.tar.bz2
Merge branch 'ms/remote-usage-string'
Adds some subcommands that were not listed in "git remote --help" usage strings. As an independent follow-up, we may want to rethink how the overall usage string and subcommand usage strings are maintained. By Michael Schubert * ms/remote-usage-string: remote: update builtin usage
Diffstat (limited to 'builtin')
-rw-r--r--builtin/remote.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/builtin/remote.c b/builtin/remote.c
index fec92bc..b5645fe 100644
--- a/builtin/remote.c
+++ b/builtin/remote.c
@@ -9,7 +9,7 @@
static const char * const builtin_remote_usage[] = {
"git remote [-v | --verbose]",
- "git remote add [-t <branch>] [-m <master>] [-f] [--mirror=<fetch|push>] <name> <url>",
+ "git remote add [-t <branch>] [-m <master>] [-f] [--tags|--no-tags] [--mirror=<fetch|push>] <name> <url>",
"git remote rename <old> <new>",
"git remote rm <name>",
"git remote set-head <name> (-a | -d | <branch>)",
@@ -17,7 +17,7 @@ static const char * const builtin_remote_usage[] = {
"git remote prune [-n | --dry-run] <name>",
"git remote [-v | --verbose] update [-p | --prune] [(<group> | <remote>)...]",
"git remote set-branches [--add] <name> <branch>...",
- "git remote set-url <name> <newurl> [<oldurl>]",
+ "git remote set-url [--push] <name> <newurl> [<oldurl>]",
"git remote set-url --add <name> <newurl>",
"git remote set-url --delete <name> <url>",
NULL