summaryrefslogtreecommitdiff
path: root/builtin-remote.c
diff options
context:
space:
mode:
authorCheng Renquan <crquan@gmail.com>2008-11-17 11:15:49 (GMT)
committerJunio C Hamano <gitster@pobox.com>2008-11-17 15:33:42 (GMT)
commit357af14fc491748c874cd8791a5bcf5e1a426ee8 (patch)
tree489806ca6d9f6e2c3910b902f343d41bf5a87473 /builtin-remote.c
parent6e13921b4f7adcc7316a76c0c4955b85b1589a65 (diff)
downloadgit-357af14fc491748c874cd8791a5bcf5e1a426ee8.zip
git-357af14fc491748c874cd8791a5bcf5e1a426ee8.tar.gz
git-357af14fc491748c874cd8791a5bcf5e1a426ee8.tar.bz2
git-remote: match usage string with the manual pages
Signed-off-by: Cheng Renquan <crquan@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin-remote.c')
-rw-r--r--builtin-remote.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/builtin-remote.c b/builtin-remote.c
index 71696b5..d032f25 100644
--- a/builtin-remote.c
+++ b/builtin-remote.c
@@ -8,12 +8,12 @@
#include "refs.h"
static const char * const builtin_remote_usage[] = {
- "git remote",
- "git remote add <name> <url>",
+ "git remote [-v | --verbose]",
+ "git remote add [-t <branch>] [-m <master>] [-f] [--mirror] <name> <url>",
"git remote rename <old> <new>",
"git remote rm <name>",
- "git remote show <name>",
- "git remote prune <name>",
+ "git remote show [-n] <name>",
+ "git remote prune [-n | --dry-run] <name>",
"git remote update [group]",
NULL
};