[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Handle options independent of their order.
From: |
Benno Schulenberg |
Subject: |
Re: [PATCH] Handle options independent of their order. |
Date: |
Wed, 18 Apr 2007 21:37:16 +0200 |
User-agent: |
KMail/1.9.6 |
Benno Schulenberg wrote:
> Abort on any invalid option, and handle -v and -h first.
> ---
> parted/parted.c | 42
> +++++++++++++++++++++++++++++++----------- 1 files changed, 31
> insertions(+), 11 deletions(-)
Ping. Otavio?
Apart from 1) aborting on any invalid option and 2) handling only -v
or -h and then exiting when one of them is present, the patch adds
3) a short usage message, which is printed when an invalid option
is given (instead of printing the entire help message, which is too
much information).
Benno