[PATCH] Update 'git remote' usage and man page to match.
From: Tim Henigan <hidden>
Date: 2016-06-15 22:47:42
Subsystem:
documentation, the rest · Maintainers:
Jonathan Corbet, Linus Torvalds
This commit: 1) Removes documentation of '--verbose' from the synopsis portion of the usage string since it is a general option. 2) Removes the 'remote' option from 'git remote update' in the man page. This option had already been removed from the usage string in the code, but the man page was not updated to match. Signed-off-by: Tim Henigan <redacted> --- Documentation/git-remote.txt | 4 ++-- builtin-remote.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/Documentation/git-remote.txt b/Documentation/git-remote.txt
index 82a3d29..32ff95b 100644
--- a/Documentation/git-remote.txt
+++ b/Documentation/git-remote.txt@@ -9,14 +9,14 @@ git-remote - manage set of tracked repositories SYNOPSIS -------- [verse] -'git remote' [-v | --verbose] +'git remote' 'git remote add' [-t <branch>] [-m <master>] [-f] [--mirror] <name> <url> 'git remote rename' <old> <new> 'git remote rm' <name> 'git remote set-head' <name> [-a | -d | <branch>] 'git remote show' [-n] <name> 'git remote prune' [-n | --dry-run] <name> -'git remote update' [-p | --prune] [group | remote]... +'git remote update' [-p | --prune] [group]... DESCRIPTION -----------
diff --git a/builtin-remote.c b/builtin-remote.c
index 0777dd7..3756e91 100644
--- a/builtin-remote.c
+++ b/builtin-remote.c@@ -8,14 +8,14 @@ #include "refs.h" static const char * const builtin_remote_usage[] = { - "git remote [-v | --verbose]", + "git remote", "git remote add [-t <branch>] [-m <master>] [-f] [--mirror] <name> <url>", "git remote rename <old> <new>", "git remote rm <name>", "git remote set-head <name> [-a | -d | <branch>]", "git remote show [-n] <name>", "git remote prune [-n | --dry-run] <name>", - "git remote [-v | --verbose] update [-p | --prune] [group]", + "git remote update [-p | --prune] [group]", NULL };
--
1.6.5.2.180.gc5b3e.dirty