KDBusService: improve documentation to handle empty argument list correctly.
+ show how to handle --version and --help as well.
dfaure | Jul 9 2017, 9:18 AM |
/src/kdbusservice.h | ||
---|---|---|
225 | @dfaure Hi. I am lost a bit when parsing myself the "since ..." :) I would have thought the reasoning would be about that parse() _does_ handle those flags, and one wants to exit only the new process instance after -h/-v handling, not the running one. Can we perhaps reword this a bit? |
/src/kdbusservice.h | ||
---|---|---|
225 | This is about the code in the slot connected to this signal (activateRequested). To support those (in the "client" app, the newly started one, before it makes the DBus call), we need to use process() *before* creating the KDBusService instance. |
/src/kdbusservice.h | ||
---|---|---|
225 | Ah, I missed process!=parse, always read that into being the same method name (and thinking of process() behaviour). Okay, now I get it, thanks. |