From 69d715e3bdae41049c309b3a987d2068a83e09b2 Mon Sep 17 00:00:00 2001 From: butterkeks Date: Fri, 3 May 2024 22:05:53 +0200 Subject: [PATCH] Clang format + change github workflow to analyse --- .github/workflows/ci.yml | 2 +- src/settings.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1b1cfd4..7fb5d5a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,7 +18,7 @@ jobs: - run: gcc --version - - run: make + - run: make clean analyse on: push: diff --git a/src/settings.c b/src/settings.c index 4b34d51..977833b 100644 --- a/src/settings.c +++ b/src/settings.c @@ -56,8 +56,8 @@ int parse_cmd_line_opts(int argc, char **argv) { print_cfg = 1; break; case 'h': - puts("See 'man dictpopup' or 'man dictpopup-create' for help."); - exit(EXIT_SUCCESS); + puts("See 'man dictpopup' or 'man dictpopup-create' for help."); + exit(EXIT_SUCCESS); case '?': fprintf(stderr, "Unknown option character `\\x%x'.\n", optopt); exit(EXIT_FAILURE);