Show full version properly when -V is invoked with new versioning system.

This commit is contained in:
Con Kolivas 2011-04-03 20:13:16 +10:00
parent 7b59e41aaf
commit e66d97ab19

3
main.c
View file

@ -650,8 +650,7 @@ int main(int argc, char *argv[])
}
break;
case 'V':
print_output("lrzip version %d.%d%d\n",
LRZIP_MAJOR_VERSION, LRZIP_MINOR_VERSION, LRZIP_MINOR_SUBVERSION);
print_output("lrzip version %s\n", PACKAGE_VERSION);
exit(0);
break;
case 'w':