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; break;
case 'V': case 'V':
print_output("lrzip version %d.%d%d\n", print_output("lrzip version %s\n", PACKAGE_VERSION);
LRZIP_MAJOR_VERSION, LRZIP_MINOR_VERSION, LRZIP_MINOR_SUBVERSION);
exit(0); exit(0);
break; break;
case 'w': case 'w':