D9059: Don't require the device parameter for kdeconnect-cli with one device

Matthijs Tijink noreply at phabricator.kde.org
Wed Nov 29 20:21:39 UTC 2017


mtijink created this revision.
mtijink added a reviewer: KDE Connect.

REVISION SUMMARY
  If you have a single paired device, this code allows you to use kdeconnect-cli without passing the "-d" parameter with the device id. In other cases, nothing changes.

TEST PLAN
  Works for me, with one device. Did not actually test with zero/multiple devices, but the changes look trivial to me.

REPOSITORY
  R224 KDE Connect

BRANCH
  cli-auto-guess-device

REVISION DETAIL
  https://phabricator.kde.org/D9059

AFFECTED FILES
  cli/kdeconnect-cli.cpp

To: mtijink, #kde_connect
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdeconnect/attachments/20171129/d2d4f267/attachment.html>


More information about the KDEConnect mailing list