| summaryrefslogtreecommitdiff | 
diff options
| author | nsensfel <SpamShield0@noot-noot.org> | 2020-01-07 11:25:43 +0100 | 
|---|---|---|
| committer | nsensfel <SpamShield0@noot-noot.org> | 2020-01-07 11:25:43 +0100 | 
| commit | 272e335b057dce34304d17074a81d3e3d0cde175 (patch) | |
| tree | 40675a7019db9b249655293ed9d91ac1eb6d5f66 /src/config | |
| parent | 99fc3898606bf9bc2a732facffc1a6fe6bfcf3a2 (diff) | |
...
Diffstat (limited to 'src/config')
| -rw-r--r-- | src/config/parameters/parameters.c | 11 | 
1 files changed, 9 insertions, 2 deletions
| diff --git a/src/config/parameters/parameters.c b/src/config/parameters/parameters.c index bff7642..eb06c42 100644 --- a/src/config/parameters/parameters.c +++ b/src/config/parameters/parameters.c @@ -357,6 +357,14 @@ int relabsd_parameters_argument_count_for     {        *result = 1;     } +   else if +   ( +      RELABSD_STRING_EQUALS("-q", option) +      || RELABSD_STRING_EQUALS("--quit", option) +   ) +   { +      *result = 0; +   }     else     {        return -1; @@ -402,8 +410,7 @@ void relabsd_parameters_print_usage (const char exec [const restrict static 1])           "\t\tModifies an axis.\n\n"        "\t[-f | --config] <config_file>" -         "<options>:\n" -         "\t\t(Re)defines an axis.\n\n" +         "\t\tUse the options defined in <config_file>.\n\n"        "\t[-q | --quit]:\n"           "\t\tTerminates the targeted server instance.\n\n" | 


