aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/client_main.c2
-rw-r--r--src/const.h4
-rw-r--r--src/server_main.c2
-rw-r--r--src/worker_main.c2
4 files changed, 8 insertions, 2 deletions
diff --git a/src/client_main.c b/src/client_main.c
index 0dbdcc6..0a68a55 100644
--- a/src/client_main.c
+++ b/src/client_main.c
@@ -33,6 +33,7 @@ static int parse_settings(struct settings *settings, int argc, char *argv[])
*settings = default_settings();
+ /* clang-format off */
static struct option long_options[] = {
{"help", no_argument, 0, 'h'},
{"version", no_argument, 0, 'V'},
@@ -41,6 +42,7 @@ static int parse_settings(struct settings *settings, int argc, char *argv[])
{"port", required_argument, 0, 'p'},
{0, 0, 0, 0},
};
+ /* clang-format on */
while ((opt = getopt_long(argc, argv, "hVvH:p:", long_options, &longind)) != -1) {
switch (opt) {
diff --git a/src/const.h b/src/const.h
index 94723c6..0c0c5fc 100644
--- a/src/const.h
+++ b/src/const.h
@@ -15,8 +15,8 @@ extern const char *default_host;
extern const char *default_port;
extern const char *default_sqlite_path;
-#define CMD_RUN "run"
+#define CMD_RUN "run"
#define CMD_NEW_WORKER "new-worker"
-#define CMD_COMPLETE "complete"
+#define CMD_COMPLETE "complete"
#endif
diff --git a/src/server_main.c b/src/server_main.c
index 65541ff..e682f6e 100644
--- a/src/server_main.c
+++ b/src/server_main.c
@@ -33,6 +33,7 @@ static int parse_settings(struct settings *settings, int argc, char *argv[])
*settings = default_settings();
+ /* clang-format off */
static struct option long_options[] = {
{"help", no_argument, 0, 'h'},
{"version", no_argument, 0, 'V'},
@@ -41,6 +42,7 @@ static int parse_settings(struct settings *settings, int argc, char *argv[])
{"sqlite", required_argument, 0, 's'},
{0, 0, 0, 0},
};
+ /* clang-format on */
while ((opt = getopt_long(argc, argv, "hVvp:s:", long_options, &longind)) != -1) {
switch (opt) {
diff --git a/src/worker_main.c b/src/worker_main.c
index e8468f8..2c06aa8 100644
--- a/src/worker_main.c
+++ b/src/worker_main.c
@@ -33,6 +33,7 @@ static int parse_settings(struct settings *settings, int argc, char *argv[])
*settings = default_settings();
+ /* clang-format off */
static struct option long_options[] = {
{"help", no_argument, 0, 'h'},
{"version", no_argument, 0, 'V'},
@@ -41,6 +42,7 @@ static int parse_settings(struct settings *settings, int argc, char *argv[])
{"port", required_argument, 0, 'p'},
{0, 0, 0, 0},
};
+ /* clang-format on */
while ((opt = getopt_long(argc, argv, "hVvH:p:", long_options, &longind)) != -1) {
switch (opt) {