Re: [PATCH 3/8] repack -A -d: use --keep-unreachable when repacking
- From
Andreas Ericsson <ae@op5.se>
- Date
- Sep 17, 2007, 10:00 UTC
- Message-ID
- <46EE5037.2080302@op5.se>
- In-Reply-To
- <Pine.LNX.4.64.0709171027400.28586@racer.site>
Johannes Schindelin wrote:
Show 10 quoted lines
> Hi, > > On Mon, 17 Sep 2007, Junio C Hamano wrote: > >> -USAGE='[-a] [-d] [-f] [-l] [-n] [-q] [--max-pack-size=N] [--window=N] [--window-memory=N] [--depth=N]' >> +USAGE='[-a|-A] [-d] [-f] [-l] [-n] [-q] [--max-pack-size=N] [--window=N] [--window-memory=N] [--depth=N]' > > Would "[-a] [-A]" not be better? In other usage lines, we have the "|" > for alternative forms of the _same_ option, like "[-m|--merge]". >
Well, that depends on how you look at it. -m and --merge are (sort of) mutually exclusive, as the use of one voids the use of the other.
Likewise, using -a and -A together on the same command-line doesn't make much sense (although -A implies -a rather than meaning the same thing).
-- Andreas Ericsson andreas.ericsson@op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231