| summaryrefslogtreecommitdiff |
diff options
| -rw-r--r-- | CMakeLists.txt | 1 | ||||
| -rw-r--r-- | src/main.c | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 662815f..6c10b92 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -9,6 +9,7 @@ add_definitions(-D_POSIX_SOURCE) add_definitions(-D_POSIX_C_SOURCE=200809L) if(CMAKE_COMPILER_IS_GNUCC) + set(CMAKE_C_FLAGS "-g -Wall -Wpedantic -Wconversion") message(STATUS "GNUCC detected. Adding '-O3' parameter.") set(CMAKE_C_FLAGS "-O3") #set(CMAKE_C_FLAGS " -g") @@ -20,9 +20,9 @@ static void print_help (const char runnable [const restrict static 1]) "Protocol Version %d\n" "\nUsages:\n" " JH GATEWAY:\t%s SOCKET_NAME\n" - " SHOW HELP:\tAnything else\n" + " SHOW HELP:\tAnything else.\n" "\nParameters:\n" - " SOCKET_NAME: valid UNIX socket.\n", + " SOCKET_NAME:\tValid UNIX socket.\n", JH_PROGRAM_VERSION, JH_PROTOCOL_VERSION, runnable |


