threads / patch / 33029

patchDocumentation/submodule: Add --force to update synopsis

Subject: [PATCH] Documentation/submodule: Add --force to update synopsis

## tl;dr

2 messages between Feb 27, 2013 and Feb 27, 2013. Diffs are folded; open one to read it.

replies: 1people: 2as markdown or json

Brad King· Feb 27, 2013, 00:41 UTC · lore

In commit 9db31bdf (submodule: Add --force option for git submodule update, 2011-04-01) we added the option to the implementation's usage synopsis but forgot to add it to the synopsis in the command documentation. Add the option to the synopsis in the same location it is reported in usage and re-wrap the options to avoid long lines.

Signed-off-by: Brad King <brad.king@kitware.com>
---
 Documentation/git-submodule.txt |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
Show changes to Documentation/git-submodule.txt +3 −2
diff --git a/Documentation/git-submodule.txt b/Documentation/git-submodule.txt
index a0c9df8..c604731 100644
--- a/Documentation/git-submodule.txt
+++ b/Documentation/git-submodule.txt
@@ -13,8 +13,9 @@ SYNOPSIS
 	      [--reference <repository>] [--] <repository> [<path>]
 'git submodule' [--quiet] status [--cached] [--recursive] [--] [<path>...]
 'git submodule' [--quiet] init [--] [<path>...]
-'git submodule' [--quiet] update [--init] [--remote] [-N|--no-fetch] [--rebase]
-	      [--reference <repository>] [--merge] [--recursive] [--] [<path>...]
+'git submodule' [--quiet] update [--init] [--remote] [-N|--no-fetch]
+	      [-f|--force] [--rebase] [--reference <repository>] [--merge]
+	      [--recursive] [--] [<path>...]
 'git submodule' [--quiet] summary [--cached|--files] [(-n|--summary-limit) <n>]
 	      [commit] [--] [<path>...]
 'git submodule' [--quiet] foreach [--recursive] <command>
-- 
1.7.10.4

← back to recent threads