summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2019-10-17 13:30:22 +0200
committerJosé Bollo <jose.bollo@iot.bzh>2019-10-17 13:30:39 +0200
commit65f8b84fd6b59de62c3ee621c898a3e3da83e130 (patch)
tree246f37dfa88f85fa11e6355d57483fcf7dbcd352
parentd75a0902bc4e31ce830084b9a7173d0c922eb435 (diff)
Rename cynagoracli to cynagora-admin
Change-Id: I4f146d792fb646d4d221a80de88aeb6a9372e21e Signed-off-by: José Bollo <jose.bollo@iot.bzh>
-rw-r--r--src/CMakeLists.txt8
-rw-r--r--src/main-cynagora-admin.c (renamed from src/main-cynagoracli.c)10
2 files changed, 9 insertions, 9 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 0c1417d..a60f30c 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -102,11 +102,11 @@ install(TARGETS cynagorad
RUNTIME DESTINATION ${CMAKE_INSTALL_FULL_BINDIR})
###########################################
-# build and install cynagoracli
+# build and install cynagora-admin
###########################################
-add_executable(cynagoracli main-cynagoracli.c expire.c)
-target_link_libraries(cynagoracli cynagora)
-install(TARGETS cynagoracli
+add_executable(cynagora-admin main-cynagora-admin.c expire.c)
+target_link_libraries(cynagora-admin cynagora)
+install(TARGETS cynagora-admin
RUNTIME DESTINATION ${CMAKE_INSTALL_FULL_BINDIR})
###########################################
diff --git a/src/main-cynagoracli.c b/src/main-cynagora-admin.c
index fd92fad..c748b4b 100644
--- a/src/main-cynagoracli.c
+++ b/src/main-cynagora-admin.c
@@ -65,7 +65,7 @@ static
const char
helptxt[] =
"\n"
- "usage: cynagoracli [options]... [action [arguments]]\n"
+ "usage: cynagora-admin [options]... [action [arguments]]\n"
"\n"
"otpions:\n"
" -s, --socket xxx set the base xxx for sockets\n"
@@ -75,16 +75,16 @@ helptxt[] =
" -h, --help print this help and exit\n"
" -v, --version print the version and exit\n"
"\n"
- "When action is given, cynagoracli performs the action and exits.\n"
- "Otherwise cynagoracli continuously read its input to get the actions.\n"
- "For a list of actions type 'cynagoracli help'.\n"
+ "When action is given, cynagora-admin performs the action and exits.\n"
+ "Otherwise cynagora-admin continuously read its input to get the actions.\n"
+ "For a list of actions type 'cynagora-admin help'.\n"
"\n"
;
static
const char
versiontxt[] =
- "cynagoracli version 1.99.99\n"
+ "cynagora-admin version 1.99.99\n"
;
static