From 2eb47fb5b32b9785b85cbabe48d891176844f4e3 Mon Sep 17 00:00:00 2001 From: Patrik Flykt Date: Fri, 26 Apr 2013 13:57:37 +0300 Subject: client: Move commands around to more logical places in the table --- client/commands.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'client') 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", "|offline", NULL, NULL, cmd_enable, "Enables given technology or offline mode" }, { "disable", "|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", " on|off\n" " wifi [on|off] ", NULL, NULL, @@ -1197,8 +1199,6 @@ static const struct { "Enable, disable tethering, set SSID and passphrase for wifi" }, { "services", "[]", service_options, &service_desc[0], cmd_services, "Display services" }, - { "technologies", NULL, NULL, NULL, - cmd_technologies, "Display technologies" }, { "scan", "", NULL, NULL, cmd_scan, "Scans for new services for given technology" }, { "connect", "", NULL, NULL, -- cgit v1.2.3