Re: [PATCH] core-count: A new program to count the number of cpu cores
From:
Erik Auerswald
Subject:
Re: [PATCH] core-count: A new program to count the number of cpu cores
Date:
Thu, 5 Nov 2009 18:43:39 +0100
User-agent:
Mutt/1.5.13 (2006-08-11)
Hi,
On Thu, Nov 05, 2009 at 12:08:27PM +0000, PƔdraig Brady wrote:
> Giuseppe Scrivano wrote:
> > PƔdraig Brady <address@hidden> writes:
>
> Well --available and --all are mutually exclusive and related.
> That fact is obvious if they're parameters to a single option.
> But I do take your point that --count is a bit redundant,
> and I don't see nproc getting many other options, so OK
> leave them as separate options.
Why have an option for the default operation at all? If --available is
the same as specifying no option and the only other mode of operation is
--all, only the --all option should be recognised. There is no need for
--available.
Br,
Erik