# [PATCH] Add --recursive flag to documentation of git submodule sync command.

1 messages from 2014-06-13 to 2014-06-13. Participants: Charles Matthew Chen.
Thread: https://gitlist.dev/t/36910

## Charles Matthew Chen, 2014-06-13 17:40

Subject: [PATCH] Add --recursive flag to documentation of git submodule sync command.
Message-ID: <CACQxx-Ej-gcHp4PM-E1CCt9x+i99_N-VaNOrRpo6YwkAuhe2UA@mail.gmail.com>
URL: https://gitlist.dev/e/CACQxx-Ej-gcHp4PM-E1CCt9x%2Bi99_N-VaNOrRpo6YwkAuhe2UA%40mail.gmail.com

```
The "git submodule sync" command supports the --recursive flag, but
the documentation does not mention this.  That flag is useful, for
example when a remote is changed in a submodule of a submodule.

Signed-off-by: Matthew Chen <charlesmchen@gmail.com>
---
 Documentation/git-submodule.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/git-submodule.txt b/Documentation/git-submodule.txt
index 89c4d3e..8e6af65 100644
--- a/Documentation/git-submodule.txt
+++ b/Documentation/git-submodule.txt
@@ -20,7 +20,7 @@ SYNOPSIS
 'git submodule' [--quiet] summary [--cached|--files] [(-n|--summary-limit) <n>]
       [commit] [--] [<path>...]
 'git submodule' [--quiet] foreach [--recursive] <command>
-'git submodule' [--quiet] sync [--] [<path>...]
+'git submodule' [--quiet] sync [--recursive] [--] [<path>...]


 DESCRIPTION
-- 
1.8.5.3

```
