From: Duy Nguyen Date: Tue, 12 Feb 2019 05:33:11 GMT Subject: Re: [PATCH] git-submodule.txt: document default behavior Message-ID: In-Reply-To: <0b62f65a8016c41b96aa6caead366e1ed9dda333.1549944164.git.liu.denton@gmail.com> On Tue, Feb 12, 2019 at 11:04 AM Denton Liu wrote: > > This patch documents the default behavior of git-submodule if no > subcommands are given, similar to how git-remote.txt documents it. > > Signed-off-by: Denton Liu > --- > Documentation/git-submodule.txt | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/Documentation/git-submodule.txt b/Documentation/git-submodule.txt > index ba3c4df550..9bc98da154 100644 > --- a/Documentation/git-submodule.txt > +++ b/Documentation/git-submodule.txt > @@ -28,6 +28,9 @@ For more information about submodules, see linkgit:gitsubmodules[7]. > > COMMANDS > -------- > +With no arguments, shows the status of existing submodules. Several Maybe just "The default command is 'status'" and let the user read that subcommand for more info. > +subcommands are available to perform operations on the submodules. > + > add [-b ] [-f|--force] [--name ] [--reference ] [--depth ] [--] []:: > Add the given repository as a submodule at the given path > to the changeset to be committed next to the current > -- > 2.20.1.530.g88cfe87ec3 > -- Duy