summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrik Flykt <patrik.flykt@linux.intel.com>2012-09-14 10:30:50 +0300
committerPatrik Flykt <patrik.flykt@linux.intel.com>2012-09-14 16:32:01 +0300
commite54547749256894bc381652edeea7171285f0400 (patch)
tree50cc38bece0f6b988ca8bbdaf3d9b572060338f3
parent384aedab7b44bd47b6d6b0f43f2791e5bea6c19b (diff)
downloadconnman-e54547749256894bc381652edeea7171285f0400.tar.gz
connman-e54547749256894bc381652edeea7171285f0400.tar.bz2
connman-e54547749256894bc381652edeea7171285f0400.zip
client: Change 'tech' to 'technologies'
Update argument and man page to use 'technologies'
-rw-r--r--client/commands.c4
-rw-r--r--doc/connmanctl.14
2 files changed, 4 insertions, 4 deletions
diff --git a/client/commands.c b/client/commands.c
index 7dca753f..062e7b11 100644
--- a/client/commands.c
+++ b/client/commands.c
@@ -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");
diff --git a/doc/connmanctl.1 b/doc/connmanctl.1
index 55a5f9c8..08aa0751 100644
--- a/doc/connmanctl.1
+++ b/doc/connmanctl.1
@@ -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.