[PATCH] submodule: Document the details of the command line syntax
- From
Steffen Prohaska <prohaska@zib.de>
- Date
- Jan 21, 2008, 06:41 UTC
- Message-ID
- <12008976873999-git-send-email-prohaska@zib.de>
- In-Reply-To
- <209F2074-DD8D-429A-95AA-6FB484852E4E@zib.de>
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> --- Documentation/git-submodule.txt | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/Documentation/git-submodule.txt b/Documentation/git-submodule.txt index cffc6d4..e818e6e 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 <repository> [<path>] -'git-submodule' [--quiet] [--cached] [status|init|update] [--] [<path>...] +'git-submodule' [--quiet] add [-b branch] [--] <repository> [<path>] +'git-submodule' [--quiet] status [--cached] [--] [<path>...] +'git-submodule' [--quiet] [init|update] [--] [<path>...] COMMANDS
-- 1.5.4.rc4.3.g7c32b