[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] nproc: disallow non option command line parameters
From: |
Jim Meyering |
Subject: |
Re: [PATCH] nproc: disallow non option command line parameters |
Date: |
Thu, 06 Sep 2012 11:51:33 +0200 |
Pádraig Brady wrote:
> * src/nproc.c (main): Error if any non option parameters.
> * NEWS: Mention the change in behavior.
> ---
> NEWS | 4 ++++
> src/nproc.c | 7 +++++++
> 2 files changed, 11 insertions(+), 0 deletions(-)
>
> diff --git a/NEWS b/NEWS
> index 63fa042..995fafb 100644
> --- a/NEWS
> +++ b/NEWS
> @@ -23,6 +23,10 @@ GNU coreutils NEWS -*-
> outline -*-
> "Too many levels of symbolic links" diagnostic.
> [bug introduced in coreutils-8.6]
>
> +** Changes in behavior
> +
> + nproc now diagnoses with an error, non option command line parameters.
Looks perfect. Thanks!