aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathanael Sensfelder <SpamShield0@MultiAgentSystems.org>2017-04-22 22:06:36 +0200
committerNathanael Sensfelder <SpamShield0@MultiAgentSystems.org>2017-04-22 22:06:36 +0200
commitae1ddc45b17a80e2243320cf490c0d43317a3772 (patch)
tree20320c05b98b09943c9b6f1d93f5fea485890471
parent07b2b985269882680513e5a09aae3af722bdc7a0 (diff)
downloadcli-ae1ddc45b17a80e2243320cf490c0d43317a3772.zip
cli-ae1ddc45b17a80e2243320cf490c0d43317a3772.tar.bz2
Homogenization changes.
-rw-r--r--CMakeLists.txt1
-rw-r--r--src/main.c4
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")
diff --git a/src/main.c b/src/main.c
index f2231f7..f8902b7 100644
--- a/src/main.c
+++ b/src/main.c
@@ -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