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

From: Dov Murik <[email-masked]>
Date: Sat, 11 May 2024 23:14:00 -0400

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 <[email-masked]>
---
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 <[email-masked]>
     
      ## 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)