KCmdLineArgs::usage() behavior

Kevin Krammer kevin.krammer at gmx.at
Sat Mar 10 16:52:29 GMT 2007


On Saturday 10 March 2007 17:43 +0100, Aaron J. Seigo wrote:
> On March 10, 2007, Kevin Krammer wrote:
> > when asked for their commandline argument help, i.e. when being called
> > with --help
> >
> > In contrast to other programs they return a non-zero exit code,
> > indicating
>
> fixed in rev 641231. the backport would be trivial, though i'm not sure
> changing exit values of apps during a stable release cycle is a good idea?

Hmm, we did it for kfmclient when fixing a return code problem last year 
(discovered when used in xdg-open IIRC)

In the current case the fix is not as important. On the other hand it is not 
very likely anyone has checks for --help return code, otherwise it would have 
been discovered earlier :)

Cheers,
Kevin

-- 
Kevin Krammer, KDE developer, xdg-utils developer
KDE user support, developer mentoring
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20070310/981b6506/attachment.sig>


More information about the kde-core-devel mailing list