summaryrefslogtreecommitdiff
path: root/src/util/option.c
diff options
context:
space:
mode:
authorLieuwe Rooijakkers <lieuwerooijakkers@gmail.com>2024-07-23 00:02:27 +0200
committerLieuwe Rooijakkers <lieuwerooijakkers@gmail.com>2024-07-23 00:02:27 +0200
commit93394b388f7cbec6640e361aa95c3b30ba2a90fc (patch)
tree40a30f58d39f01f3eaf9df9446b14edd9b09b534 /src/util/option.c
parentbd22d0e47d0fb203286b088f048cf1aff1fa93a1 (diff)
global progname variable
Diffstat (limited to 'src/util/option.c')
-rw-r--r--src/util/option.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/option.c b/src/util/option.c
index ef7a398..5efcbd7 100644
--- a/src/util/option.c
+++ b/src/util/option.c
@@ -65,7 +65,7 @@ char** option_parse(int argc, char **argv, const struct option_spec *speclist) {
exit(0);
case OPTSPECKIND_VERSION:
- drukkedoos_print_versie(stdout, argv[0]);
+ drukkedoos_print_versie(stdout);
exit(0);
case OPTSPECKIND_END: abort(); // unreachable