Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: _units
- X-seq: zsh-workers 23525
- From: Phil Pennock <zsh-workers+phil.pennock@xxxxxxxxxxxx>
- To: Zsh hackers list <zsh-workers@xxxxxxxxxx>
- Subject: Re: PATCH: _units
- Date: Tue, 5 Jun 2007 08:46:33 -0700
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=first1; d=spodhuis.org; h=Received:Date:From:To:Subject:Message-ID:Mail-Followup-To:References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To; b=lQx5VJ1eP+xGKBGEOswOsnYUX1KZi+x5gzFn9x/+v7XaCgtqHYhLk4ygtmChXi/GjQLqgUENmw+bI35bmifbCHrYQIFKj9lBh1ONqifDFgzJrfJLeLs/V1l8UoeUBKyUI8MAgMQnDpFDZRnv4YBuqmxWV9Pu8Zn/VPquin2+K4Y=;
- In-reply-to: <200706051011.l55ABJJF009468@xxxxxxxxxxxxxx>
- Mail-followup-to: Zsh hackers list <zsh-workers@xxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <200706041518.l54FI4lV007223@xxxxxxxxxxxxxx> <20070604192138.GA15026@xxxxxxxxxxxxxxxxxxxx> <200706051011.l55ABJJF009468@xxxxxxxxxxxxxx>
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