Re: obnoxious CLI complaints
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Sep 17, 2009, 01:27 UTC
- Message-ID
- <7vk4zyuzrd.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <ef38762f0909161748u32ad56bcya3314fe28fd06ffe@mail.gmail.com>
Brendan Miller <catphive@catphive.net> writes:
Show 17 quoted lines
> On Sun, Sep 13, 2009 at 11:47 AM, Junio C Hamano <gitster@pobox.com> wrote: >> John Tapsell <johnflux@gmail.com> writes: >> >>> 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.