# [PATCH v2] documentation: git-update-index: add --show-index-version to synopsis

1 messages from 2024-05-12 to 2024-05-12. Participants: Dov Murik.
Thread: https://gitlist.dev/t/61460

## Dov Murik, 2024-05-12 03:14

Subject: [PATCH v2] documentation: git-update-index: add --show-index-version to synopsis
Message-ID: <20240512031400.28416-1-dov.murik@linux.dev>
URL: https://gitlist.dev/e/20240512031400.28416-1-dov.murik%40linux.dev

```
In 606e088d5d (update-index: add --show-index-version, 2023-09-12), we
added the new '--show-index-version' option to 'git-update-index' and
documented it, but forgot to add it to the synopsis section.

Add '--show-index-version' to the synopsis of 'git-update-index'.

Signed-off-by: Dov Murik <dov.murik@linux.dev>
---
Range-diff against v1:
1:  da0359eef3 ! 1:  1de0c0d221 documentation: git-update-index: add --show-index-version to synopsis
    @@ Metadata
      ## Commit message ##
         documentation: git-update-index: add --show-index-version to synopsis
     
    -    Fixes: 606e088d5d9a ("update-index: add --show-index-version")
    +    In 606e088d5d (update-index: add --show-index-version, 2023-09-12), we
    +    added the new '--show-index-version' option to 'git-update-index' and
    +    documented it, but forgot to add it to the synopsis section.
    +
    +    Add '--show-index-version' to the synopsis of 'git-update-index'.
    +
         Signed-off-by: Dov Murik <dov.murik@linux.dev>
     
      ## Documentation/git-update-index.txt ##

 Documentation/git-update-index.txt | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Documentation/git-update-index.txt b/Documentation/git-update-index.txt
index 8c47890a6a..7128aed540 100644
--- a/Documentation/git-update-index.txt
+++ b/Documentation/git-update-index.txt
@@ -25,6 +25,7 @@ SYNOPSIS
 	     [--really-refresh] [--unresolve] [--again | -g]
 	     [--info-only] [--index-info]
 	     [-z] [--stdin] [--index-version <n>]
+	     [--show-index-version]
 	     [--verbose]
 	     [--] [<file>...]
 

base-commit: 3402c0e53fb798cb471dd6562eb5c938885b7295
-- 
2.39.3 (Apple Git-146)


```
