Add more scripting helpers to cli command
ClosedPublic

Authored by mtijink on Feb 26 2018, 6:41 PM.

Details

Summary

Adds "--name-only" and "--id-name-only", in addition to the already existing "--id-only".

This is useful for the zsh autocompletion which I've written.

Test Plan

The output is identical without the new flags.

Diff Detail

Repository
R224 KDE Connect
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
mtijink requested review of this revision.Feb 26 2018, 6:41 PM
mtijink created this revision.
nicolasfella accepted this revision.Feb 26 2018, 7:03 PM
This revision is now accepted and ready to land.Feb 26 2018, 7:03 PM
This revision was automatically updated to reflect the committed changes.