diff options
author | Patrik Flykt <patrik.flykt@linux.intel.com> | 2013-04-26 13:57:37 +0300 |
---|---|---|
committer | Patrik Flykt <patrik.flykt@linux.intel.com> | 2013-04-30 13:40:49 +0300 |
commit | 2eb47fb5b32b9785b85cbabe48d891176844f4e3 (patch) | |
tree | 718e04c8a68164fefb8ffb4fc3e19e1fee7adabc /client | |
parent | 59722a5fc5f62e402eb813011bddd7a07ae03c7f (diff) | |
download | connman-2eb47fb5b32b9785b85cbabe48d891176844f4e3.tar.gz connman-2eb47fb5b32b9785b85cbabe48d891176844f4e3.tar.bz2 connman-2eb47fb5b32b9785b85cbabe48d891176844f4e3.zip |
client: Move commands around to more logical places in the table
Diffstat (limited to 'client')
-rw-r--r-- | client/commands.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/client/commands.c b/client/commands.c index 32a82200..14f552a6 100644 --- a/client/commands.c +++ b/client/commands.c @@ -1184,12 +1184,14 @@ static const struct { int (*func) (char *args[], int num, struct option *options); const char *desc; } cmd_table[] = { + { "state", NULL, NULL, NULL, + cmd_state, "Shows if the system is online or offline" }, + { "technologies", NULL, NULL, NULL, + cmd_technologies, "Display technologies" }, { "enable", "<technology>|offline", NULL, NULL, cmd_enable, "Enables given technology or offline mode" }, { "disable", "<technology>|offline", NULL, NULL, cmd_disable, "Disables given technology or offline mode"}, - { "state", NULL, NULL, NULL, - cmd_state, "Shows if the system is online or offline" }, { "tether", "<technology> on|off\n" " wifi [on|off] <ssid> <passphrase> ", NULL, NULL, @@ -1197,8 +1199,6 @@ static const struct { "Enable, disable tethering, set SSID and passphrase for wifi" }, { "services", "[<service>]", service_options, &service_desc[0], cmd_services, "Display services" }, - { "technologies", NULL, NULL, NULL, - cmd_technologies, "Display technologies" }, { "scan", "<technology>", NULL, NULL, cmd_scan, "Scans for new services for given technology" }, { "connect", "<service>", NULL, NULL, |