diff options
author | Tom Smeding <tom@tomsmeding.com> | 2024-07-22 21:23:46 +0200 |
---|---|---|
committer | Tom Smeding <tom@tomsmeding.com> | 2024-07-22 21:23:46 +0200 |
commit | 9794094a5b3ac975d661643fc0bde6f6340ceafb (patch) | |
tree | c424182e73e4bea2cd7dd81c480b7250d906eb0a /src | |
parent | baa5edb354dddf921c6558b648a79d28eb2bc094 (diff) |
Geen Engelse foutmelding bij ongeldige opties
Diffstat (limited to 'src')
-rw-r--r-- | src/aardig.c | 1 | ||||
-rw-r--r-- | src/hoofd.c | 1 | ||||
-rw-r--r-- | src/ja.c | 1 | ||||
-rw-r--r-- | src/kat.c | 1 | ||||
-rw-r--r-- | src/omd.c | 1 | ||||
-rw-r--r-- | src/spons.c | 1 | ||||
-rw-r--r-- | src/tak.c | 1 | ||||
-rw-r--r-- | src/toilet.c | 1 | ||||
-rw-r--r-- | src/weerklank.c | 1 | ||||
-rw-r--r-- | src/wiebenik.c | 1 |
10 files changed, 10 insertions, 0 deletions
diff --git a/src/aardig.c b/src/aardig.c index 5772054..0388782 100644 --- a/src/aardig.c +++ b/src/aardig.c @@ -41,6 +41,7 @@ static char** parse_options(int argc, char **argv, int *niceness) { exit(0); case '?': + fprintf(stderr, "aardig: Ongeldige optie: -%c\n", optopt); usage(stderr); exit(1); } diff --git a/src/hoofd.c b/src/hoofd.c index 62d1151..9e428e9 100644 --- a/src/hoofd.c +++ b/src/hoofd.c @@ -44,6 +44,7 @@ static char** parse_options(int argc, char **argv, int *n, int *c) { exit(0); case '?': + fprintf(stderr, "hoofd: Ongeldige optie: -%c\n", optopt); usage(stderr); exit(1); } @@ -30,6 +30,7 @@ static char** parse_options(int argc, char **argv) { exit(0); case '?': + fprintf(stderr, "ja: Ongeldige optie: -%c\n", optopt); usage(stderr); exit(1); } @@ -30,6 +30,7 @@ static char** parse_options(int argc, char **argv) { exit(0); case '?': + fprintf(stderr, "kat: Ongeldige optie: -%c\n", optopt); usage(stderr); exit(1); } @@ -29,6 +29,7 @@ static char** parse_options(int argc, char **argv) { exit(0); case '?': + fprintf(stderr, "omd: Ongeldige optie: -%c\n", optopt); usage(stderr); exit(1); } diff --git a/src/spons.c b/src/spons.c index f59bd25..51bb109 100644 --- a/src/spons.c +++ b/src/spons.c @@ -36,6 +36,7 @@ static char** parse_options(int argc, char **argv, bool *a) { exit(0); case '?': + fprintf(stderr, "spons: Ongeldige optie: -%c\n", optopt); usage(stderr); exit(1); } @@ -31,6 +31,7 @@ static char** parse_options(int argc, char **argv) { exit(0); case '?': + fprintf(stderr, "tak: Ongeldige optie: -%c\n", optopt); usage(stderr); exit(1); } diff --git a/src/toilet.c b/src/toilet.c index ce42aca..aa4fbfa 100644 --- a/src/toilet.c +++ b/src/toilet.c @@ -58,6 +58,7 @@ static char** parse_options(int argc, char **argv, int *modeMap) { exit(0); case '?': + fprintf(stderr, "toilet: Ongeldige optie: -%c\n", optopt); usage(stderr); exit(1); } diff --git a/src/weerklank.c b/src/weerklank.c index 477aef4..ad03389 100644 --- a/src/weerklank.c +++ b/src/weerklank.c @@ -45,6 +45,7 @@ static char** parse_options(int argc, char **argv, struct options *opts) { exit(0); case '?': + fprintf(stderr, "weerklank: Ongeldige optie: -%c\n", optopt); usage(stderr); exit(1); } diff --git a/src/wiebenik.c b/src/wiebenik.c index 71b321d..5d71ef4 100644 --- a/src/wiebenik.c +++ b/src/wiebenik.c @@ -31,6 +31,7 @@ static char** parse_options(int argc, char **argv) { exit(0); case '?': + fprintf(stderr, "wiebenik: Ongeldige optie: -%c\n", optopt); usage(stderr); exit(1); } |