summaryrefslogtreecommitdiff
path: root/builtin
diff options
context:
space:
mode:
authorMichael Schubert <mschub@elegosoft.com>2012-04-07 14:25:52 (GMT)
committerJunio C Hamano <gitster@pobox.com>2012-04-09 22:06:50 (GMT)
commit31558fd48ea5911766781e676504d07eb70eeee5 (patch)
treee486e4a019e52d0486f651da24c0e6542faa38eb /builtin
parentcb2ed324fc917db0b79d7b1f3756575ffa5f70d5 (diff)
downloadgit-31558fd48ea5911766781e676504d07eb70eeee5.zip
git-31558fd48ea5911766781e676504d07eb70eeee5.tar.gz
git-31558fd48ea5911766781e676504d07eb70eeee5.tar.bz2
remote: update builtin usage
Add missing options "--tags|--no-tags" and "--push". Signed-off-by: Michael Schubert <mschub@elegosoft.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
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 adc456e..8904d4b 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