diff options
author | Lieuwe Rooijakkers <lieuwerooijakkers@gmail.com> | 2024-07-14 13:41:06 +0200 |
---|---|---|
committer | Lieuwe Rooijakkers <lieuwerooijakkers@gmail.com> | 2024-07-14 13:41:06 +0200 |
commit | b245fc46be1d08ba17f411e924c26b72ee0e9cc9 (patch) | |
tree | 96ce8d38897c72ada8c6916ad78db1b37fc4909f | |
parent | 81f3757f0859224ff605bb388d9c3a186837dcdb (diff) |
drukkedoos: toon hulpmiddelen
-rw-r--r-- | main.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -20,7 +20,11 @@ int main(int argc, char **argv) { argv++; argc--; if (argc == 0) { - fprintf(stderr, "Gebruik: drukkedoos <commando>\n"); +#define X(name) " " #name "\n" + fprintf(stderr, "Gebruik: drukkedoos <commando>\n\n" + "Hulpmiddelen:\n" + PROGNAMES_XLIST); +#undef X return 1; } prognamearg = basename(argv[0]); |