Rename cynagoracli to cynagora-admin
authorJosé Bollo <jose.bollo@iot.bzh>
Thu, 17 Oct 2019 11:30:22 +0000 (13:30 +0200)
committerJosé Bollo <jose.bollo@iot.bzh>
Thu, 17 Oct 2019 11:30:39 +0000 (13:30 +0200)
Change-Id: I4f146d792fb646d4d221a80de88aeb6a9372e21e
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
src/CMakeLists.txt
src/main-cynagora-admin.c [moved from src/main-cynagoracli.c with 98% similarity]

index 0c1417d..a60f30c 100644 (file)
@@ -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})
 
 ###########################################
similarity index 98%
rename from src/main-cynagoracli.c
rename to src/main-cynagora-admin.c
index fd92fad..c748b4b 100644 (file)
@@ -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