OSDN Git Service

git-remote: match usage string with the manual pages
authorCheng Renquan <crquan@gmail.com>
Mon, 17 Nov 2008 11:15:49 +0000 (19:15 +0800)
committerJunio C Hamano <gitster@pobox.com>
Mon, 17 Nov 2008 15:33:42 +0000 (07:33 -0800)
Signed-off-by: Cheng Renquan <crquan@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-remote.c

index 71696b5..d032f25 100644 (file)
@@ -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
 };