Re: obnoxious CLI complaints
From: Junio C Hamano <hidden>
Date: 2016-06-15 22:47:25
Brendan Miller [off-list ref] writes:
On Sun, Sep 13, 2009 at 11:47 AM, Junio C Hamano [off-list ref] wrote:quoted
John Tapsell [off-list ref] writes:quoted
Ah, the manpage examples specifically give the --format=tar though.So what?That looks like a manpage bug. In the version I have 1.6.4 the format for archive is given like this: git archive --format=<fmt> [--list] [--prefix=<prefix>/] [<extra>] [--output=<file>] [--worktree-attributes] [--remote=<repo> [--exec=<git-upload-archive>]] <tree-i sh> [path...] So --format isn't marked as optional.
Ahh, that would indeed be a documentation bug. 82d97da (Documentation: git-archive: mark --format as optional in summary, 2009-08-27) fixed it already, so upcoming 1.6.5 should have that fix. Thanks.