Welcome to little lamb

Code » comain » commit 370c46c

tpl/main.c: Use liladieversion()

author Olivier Brunel
2023-07-10 11:32:22 UTC
committer Olivier Brunel
2023-07-10 11:32:28 UTC
parent f3e6d29e979e40fbbc2c6782989b5c37d7069eab

tpl/main.c: Use liladieversion()

tpl/main.c +1 -1

diff --git a/tpl/main.c b/tpl/main.c
index b8884d7..257e664 100644
--- a/tpl/main.c
+++ b/tpl/main.c
@@ -65,7 +65,7 @@ parse_cmdline(int argc, const char *argv[], int dirfd, const char *confdir, stru
             autoopt_verbose(&options[LO_IDX(&lo)], LO_ARG(&lo));
             break;
         case OPTID_VERSION:
-            dieversion($prefix_VERSION, "$year", $prefix_CURYEAR, $prefix_AUTHOR, $prefix_URL, NULL);
+            liladieversion($prefix_VERSION, "$year", $prefix_CURYEAR, $prefix_AUTHOR, $prefix_URL, NULL);
 
         case ARGID_FILE:
             ctx->fileoff = LO_OFF(&lo);