Print version number to stdout.

This commit is contained in:
Con Kolivas 2021-02-15 19:45:01 +11:00
parent 71bbbe9e3d
commit 6bc4977e9a

1
main.c
View file

@ -521,6 +521,7 @@ int main(int argc, char *argv[])
} }
break; break;
case 'V': case 'V':
control->msgout = stdout;
print_output("lrzip version %s\n", PACKAGE_VERSION); print_output("lrzip version %s\n", PACKAGE_VERSION);
exit(0); exit(0);
break; break;