client: Change 'tech' to 'technologies'
authorPatrik Flykt <patrik.flykt@linux.intel.com>
Fri, 14 Sep 2012 07:30:50 +0000 (10:30 +0300)
committerPatrik Flykt <patrik.flykt@linux.intel.com>
Fri, 14 Sep 2012 13:32:01 +0000 (16:32 +0300)
Update argument and man page to use 'technologies'

client/commands.c
doc/connmanctl.1

index 7dca753f79e2dc0d0ec3ada75cc75ea2999caefd..062e7b11f8ea49ad01ac2b42a684004862337bb9 100644 (file)
@@ -70,7 +70,7 @@ void show_help(void)
        "  state                              Shows if the system is online or offline\n"
        "  services                           Display list of all services\n"
        "        --properties <service name>  Show properties of service\n"
-       "  tech                               Current technology on the system\n"
+       "  technologies                       Current technology on the system\n"
        "  scan <technology>                  Scans for new services on the given technology\n"
        "  connect <service>                  Connect to a given service\n"
        "  disconnect <service>               Disconnect from service\n"
@@ -287,7 +287,7 @@ int commands_no_options(DBusConnection *connection, char *argv[], int argc)
                error = list_properties(connection, "GetProperties", NULL);
                if (error != 0)
                        return error;
-       } else if (strcmp(argv[0], "tech") == 0) {
+       } else if (strcmp(argv[0], "technologies") == 0) {
                if (argc != 1) {
                        fprintf(stderr, "Tech cannot accept an argument, "
                                                                "see help\n");
index 55a5f9c857432bf1c11180810e6862a527c5c50d..08aa0751ab55648c4785d9563115d30dfd5cf9f3 100644 (file)
@@ -9,7 +9,7 @@ SYNOPSIS
 .BR offlinemode "] ["
 .BR disable " <technology> | "
 .BR offlinemode "] ["
-.BR tech "] ["
+.BR technologies "] ["
 .BR state "] ["
 .BR services " [\-\-properties <service>]] ["
 .BR scan " <technology>] ["
@@ -69,7 +69,7 @@ Disables offline mode. Technologies are powered back on according
 to their individual policies.
 .PP
 .TP
-.B tech
+.B technologies
 Shows a list of all technology types existing on the system and
 their properties. See the properties section of the Technology
 API for explanations of each property.