OSDN Git Service

client: "agent" command capability argument and autocompletion
authorAlex Deymo <deymo@chromium.org>
Thu, 21 Mar 2013 22:04:53 +0000 (15:04 -0700)
committerJohan Hedberg <johan.hedberg@intel.com>
Mon, 25 Mar 2013 10:56:41 +0000 (12:56 +0200)
commitb776f04171d4231a35d8178501bb2d6c970dbada
tree4fe0dea7b228d276db2ef1c832b8e1b27a368e71
parent82e49df634e38283b714a06d7a07d94f1f40a802
client: "agent" command capability argument and autocompletion

This patch enables argument autocompletion for the agent command with
the list of capabilities an agent can have, adding also "on" (for the
default "") and "off". The command passes the argument (parsing and
verifying it) to the dbus method call.
client/main.c