# [PATCH] Documentation: git-archive: mark --format as optional in summary

2 messages from 2009-08-27 to 2009-08-28. Participants: Wesley J. Landaker.
Thread: https://gitlist.dev/t/20764

## Wesley J. Landaker, 2009-08-27 23:08

Subject: [PATCH] Documentation: git-archive: mark --format as optional in summary
Message-ID: <1251414520-28519-1-git-send-email-wjl@icecavern.net>
URL: https://gitlist.dev/e/1251414520-28519-1-git-send-email-wjl%40icecavern.net

```
The --format option was made optional in v1.5.1-105-g8ff21b1, but it was
not marked as optional in the summary. This trival patch just changes
the summary to match the rest of the documentation.
---
 Documentation/git-archive.txt |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/Documentation/git-archive.txt b/Documentation/git-archive.txt
index bc132c8..92444dd 100644
--- a/Documentation/git-archive.txt
+++ b/Documentation/git-archive.txt
@@ -9,7 +9,7 @@ git-archive - Create an archive of files from a named tree
 SYNOPSIS
 --------
 [verse]
-'git archive' --format=<fmt> [--list] [--prefix=<prefix>/] [<extra>]
+'git archive' [--format=<fmt>] [--list] [--prefix=<prefix>/] [<extra>]
 	      [--output=<file>] [--worktree-attributes]
 	      [--remote=<repo> [--exec=<git-upload-archive>]] <tree-ish>
 	      [path...]
-- 
1.6.3.3

```

## Wesley J. Landaker, 2009-08-28 02:55

Subject: [PATCH] Documentation: git-archive: mark --format as optional in summary
Message-ID: <1251428143-8667-1-git-send-email-wjl@icecavern.net>
URL: https://gitlist.dev/e/1251428143-8667-1-git-send-email-wjl%40icecavern.net
In-Reply-To: <1251414520-28519-1-git-send-email-wjl@icecavern.net>

```
The --format option was made optional in v1.5.1-105-g8ff21b1, but it was
not marked as optional in the summary. This trival patch just changes
the summary to match the rest of the documentation.

Signed-off-by: Wesley J. Landaker <wjl@icecavern.net>
---

Junio pointed out that I missed the Signed-off-by in my previous patch. So
here it is again with that fixed.

 Documentation/git-archive.txt |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/Documentation/git-archive.txt b/Documentation/git-archive.txt
index bc132c8..92444dd 100644
--- a/Documentation/git-archive.txt
+++ b/Documentation/git-archive.txt
@@ -9,7 +9,7 @@ git-archive - Create an archive of files from a named tree
 SYNOPSIS
 --------
 [verse]
-'git archive' --format=<fmt> [--list] [--prefix=<prefix>/] [<extra>]
+'git archive' [--format=<fmt>] [--list] [--prefix=<prefix>/] [<extra>]
 	      [--output=<file>] [--worktree-attributes]
 	      [--remote=<repo> [--exec=<git-upload-archive>]] <tree-ish>
 	      [path...]
-- 
1.6.3.3

```
