summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Michael Schubert <mschub@elegosoft.com>2012-04-07 16:25:52 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2012-04-09 15:06:50 -0700
commit31558fd48ea5911766781e676504d07eb70eeee5 (patch)
treee486e4a019e52d0486f651da24c0e6542faa38eb
parentGit 1.7.9.6 (diff)
downloadtgif-31558fd48ea5911766781e676504d07eb70eeee5.tar.xz
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>
-rw-r--r--builtin/remote.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/builtin/remote.c b/builtin/remote.c
index adc456ebef..8904d4b8e0 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