michaelh added a comment.
Once I found an example (Qt doc) it was easy. Yesterday was struggling with this command line parsing to much :) BTW, regarding balooctl status -h The --format look like a global switch. I don't like that. Couldn't find a(n easy) way to avoid that. Do you know one? The subcommands are defined as posititional arguments after all. REPOSITORY R293 Baloo REVISION DETAIL https://phabricator.kde.org/D9958 To: michaelh, #frameworks, vhanda, smithjd, lbeltrame Cc: broulik, ngraham