From 9c249a856b9e9b2ea124a1edfc1f426feb9438dd Mon Sep 17 00:00:00 2001 From: constarg Date: Mon, 18 Dec 2023 23:58:47 +0200 Subject: [PATCH] Change a few things --- CMakeLists.txt | 2 +- main.c => src/main.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) rename main.c => src/main.c (96%) diff --git a/CMakeLists.txt b/CMakeLists.txt index 60aab45..603257d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -3,7 +3,7 @@ project(Sushi_Shuffle C) set(CMAKE_C_STANDARD 17) -set(SOURCE_FILES main.c ./src/config.c ./src/sorter.c ./src/logger.c ./src/tool/actions.c) +set(SOURCE_FILES ./src/main.c ./src/config.c ./src/sorter.c ./src/logger.c ./src/tool/actions.c) set(HEADER_FILES ./include/config.h ./include/sorter.h ./include/logger.h ./include/tool/actions.h) set(TO_INCLUDE ./include/) diff --git a/main.c b/src/main.c similarity index 96% rename from main.c rename to src/main.c index d4b649c..acac756 100644 --- a/main.c +++ b/src/main.c @@ -10,7 +10,7 @@ #include #endif -const char usage[] = "Usage:\n \tfile-sorter [OPTION] ...\n\n" +const char usage[] = "Usage:\n \tsushi-shuffle [OPTION] ...\n\n" "\t--start-sorter. Start the sorter service\n" "\t--set-check-interval [value] Change the value of check interval.\n" "\t--set-default-dir-path [path] Change the default directory path.\n" @@ -25,7 +25,7 @@ const char usage[] = "Usage:\n \tfile-sorter [OPTION] ...\n\n" "\t--list-targets list targets.\n" "\t--list-options list options.\n\n\n" "Each of the above commands will print an OK message on success.\n" - "Check https://github.com/EmbeddedCat/file-sorter-core for more information's about the project!.\n"; + "Check https://github.com/constarg/sushi-shuffle for more information's about the project!.\n"; static inline int help() {