submodule: Document the details of the command line syntax
Only "status" accepts "--cached" and the preferred way of passing sub-command specific options is after the sub-command. The documentation is adapted to reflect this. Signed-off-by: Steffen Prohaska <prohaska@zib.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Steffen Prohaska committed
Jan 21, 2008 at 07:41 UTC
c4a95c9f4b9c7b4dc8b705d323309263aa154e6a
1 file changed
+3
-2
Documentation/git-submodule.txt
+3
-2
@@ -9,8 +9,9 @@ git-submodule - Initialize, update or inspect submodules
9
SYNOPSIS
10
--------
11
[verse]
12
-'git-submodule' [--quiet] [-b branch] add <repository> [<path>]
13
-'git-submodule' [--quiet] [--cached] [status|init|update] [--] [<path>...]
12
+'git-submodule' [--quiet] add [-b branch] [--] <repository> [<path>]
13
+'git-submodule' [--quiet] status [--cached] [--] [<path>...]
14
+'git-submodule' [--quiet] [init|update] [--] [<path>...]
15
16
17
COMMANDS