Review Request 110964: kioclient: error messages do not identify their source

Commit Hook null at
Thu Jun 13 10:37:58 BST 2013

This is an automatically generated e-mail. To reply, visit:

(Updated June 13, 2013, 9:37 a.m.)


This change has been marked as submitted.

Review request for KDE Runtime.


While investigating another problem (which turned out to be not the fault of KDE at all), I encountered this mysterious message on stderr:

Syntax Error: Not enough arguments

It took a long time to track down the source of this message and find out that it was from kioclient.  If kioclient had given its name in the error message, as most Unix commands do, then the source of the message would have been obvious and made investigation easier.


  kioclient/kioclient.cpp d879980 



Built kioclient with these changes, verified error message output.

$ kioclient exec
kioclient: Syntax error, not enough arguments
$ kioclient exec a b c
kioclient: Syntax error, too many arguments
$ kioclient foo
kioclient: Syntax error, unknown command 'foo'


Jonathan Marten

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the kde-core-devel mailing list