Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: PATCH: _units



On 2007-06-05 at 11:11 +0100, Peter Stephenson wrote:
> Probably the first thing to do is run with the --version option and look
> at what you get.  The worst it's likely to do is print an error
> message.

% units --version | sed 's/^/STDOUT:/'
units: illegal option -- -
usage: units [-f unitsfile] [-q] [-v] [from-unit to-unit]

Exit status happens to be 3; this isn't documented but I've checked the
source and it's hard-coded.

Meh, Unix needed standardised help/version options 20 years earlier.

-Phil



Messages sorted by: Reverse Date, Date, Thread, Author