diff options
author | Denton Liu <liu.denton@gmail.com> | 2019-02-15 01:26:41 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-02-15 09:55:27 -0800 |
commit | 68cabbfda36b2e515802e13753637a987c4cf9a9 (patch) | |
tree | 6e350fb9571221f3c399a5f2c3c87e7040ab65d8 /git-submodule.sh | |
parent | 2d08f3deb9feb73dc8d21d75bfd367839fc1322c (diff) | |
download | git-68cabbfda36b2e515802e13753637a987c4cf9a9.tar.gz |
submodule: document default behavior
submodule's default behavior wasn't documented in both git-submodule.txt
and in the usage text of git-submodule. Document the default behavior
similar to how git-remote does it.
Signed-off-by: Denton Liu <liu.denton@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-submodule.sh')
-rwxr-xr-x | git-submodule.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/git-submodule.sh b/git-submodule.sh index b5f2beee60..514ede2596 100755 --- a/git-submodule.sh +++ b/git-submodule.sh @@ -5,7 +5,8 @@ # Copyright (c) 2007 Lars Hjemli dashless=$(basename "$0" | sed -e 's/-/ /') -USAGE="[--quiet] add [-b <branch>] [-f|--force] [--name <name>] [--reference <repository>] [--] <repository> [<path>] +USAGE="[--quiet] [--cached] + or: $dashless [--quiet] add [-b <branch>] [-f|--force] [--name <name>] [--reference <repository>] [--] <repository> [<path>] or: $dashless [--quiet] status [--cached] [--recursive] [--] [<path>...] or: $dashless [--quiet] init [--] [<path>...] or: $dashless [--quiet] deinit [-f|--force] (--all| [--] <path>...) |