summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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