diff options
author | Steffen Prohaska <prohaska@zib.de> | 2008-01-21 09:41:27 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-01-21 11:57:51 +0300 |
commit | c4a95c9f4b9c7b4dc8b705d323309263aa154e6a (patch) | |
tree | af065cad4344caa9d8436177309e2a613bba8d3a | |
parent | a2d93aea25e33468622fbd6d9a6e02f8dd8b3c58 (diff) |
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>
-rw-r--r-- | 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 cffc6d48fb..e818e6e789 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 |