From: Steffen Prohaska Date: Mon, 21 Jan 2008 06:41:27 +0000 (+0100) Subject: submodule: Document the details of the command line syntax X-Git-Tag: v1.5.4-rc5~22 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=c4a95c9f4b9c7b4dc8b705d323309263aa154e6a;p=git.git 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 Signed-off-by: Junio C Hamano --- diff --git a/Documentation/git-submodule.txt b/Documentation/git-submodule.txt index cffc6d48f..e818e6e78 100644 --- a/Documentation/git-submodule.txt +++ b/Documentation/git-submodule.txt @@ -9,8 +9,9 @@ git-submodule - Initialize, update or inspect submodules SYNOPSIS -------- [verse] -'git-submodule' [--quiet] [-b branch] add [] -'git-submodule' [--quiet] [--cached] [status|init|update] [--] [...] +'git-submodule' [--quiet] add [-b branch] [--] [] +'git-submodule' [--quiet] status [--cached] [--] [...] +'git-submodule' [--quiet] [init|update] [--] [...] COMMANDS