[dev] Re: [dev] Re: [dev] [dev] Usage, -h, --help, help, synopsis, …

From: Connor Lane Smith <cls_AT_lubutu.com>
Date: Wed, 18 Aug 2010 15:49:42 +0100

On 18 August 2010 15:37, Alexander Teinum <ateinum_AT_gmail.com> wrote:
> But we don’t need the brackets. As long as the usage text is
> unambiguous, then they don’t add any information. Am I right?

Two instances which make this untrue:

> ar [-]key archive [files...]
> eg [-b from to] files...

It also just makes the usage easier to read, in my opinion. Dropping a
few characters just isn't worth any loss in clarity. I did drop from
dmenu's usage the [-sb <color>] syntax, though.

Thanks,
cls
Received on Wed Aug 18 2010 - 16:49:42 CEST

This archive was generated by hypermail 2.2.0 : Wed Aug 18 2010 - 17:00:06 CEST