bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] Allow long-options to accept more long options than one.


From: Ondřej Vašík
Subject: [PATCH] Allow long-options to accept more long options than one.
Date: Thu, 13 Mar 2008 10:29:51 +0100

Hello,
In RedHat Bugzilla #431005 I got complain about funny error messages in
some coreutils commands when using more than one long option. That leads
to funny error messages. e.g. "sleep --help --version" command will
result to error 
"sleep: unrecognized option `--help'
Try `sleep --help' for more information."
I don't see any reason why to parse only one long option. 
I think that is safe to allow unlimited number of long options and break
after first success like is done in other coreutils utilities. Therefore 
used attached patch in Fedora RAWHIDE. What do you think about that 
approach?

Greetings,
         Ondrej Vasik

Attachment: patch
Description: application/mbox

Attachment: signature.asc
Description: Toto je digitálně podepsaná část zprávy


reply via email to

[Prev in Thread] Current Thread [Next in Thread]