From 65f8b84fd6b59de62c3ee621c898a3e3da83e130 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jos=C3=A9=20Bollo?= Date: Thu, 17 Oct 2019 13:30:22 +0200 Subject: [PATCH] Rename cynagoracli to cynagora-admin MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Change-Id: I4f146d792fb646d4d221a80de88aeb6a9372e21e Signed-off-by: José Bollo --- src/CMakeLists.txt | 8 ++++---- src/{main-cynagoracli.c => main-cynagora-admin.c} | 10 +++++----- 2 files changed, 9 insertions(+), 9 deletions(-) rename src/{main-cynagoracli.c => main-cynagora-admin.c} (98%) 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 similarity index 98% rename from src/main-cynagoracli.c rename to 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 -- 2.16.6