diff options
author | James Bowes <jbowes@redhat.com> | 2008-06-23 20:20:08 -0400 |
---|---|---|
committer | James Bowes <jbowes@redhat.com> | 2008-06-23 20:20:08 -0400 |
commit | 2929e9ff9032aae4e063fbb62ea73d0d32234376 (patch) | |
tree | 178ed88e51b606f67bc81fc9aa1d244496515af2 /src | |
parent | 4033be683b882579421778ca6c3f2e710f2a9a84 (diff) |
Display razor version number for rpm --version
Diffstat (limited to 'src')
-rw-r--r-- | src/rpm.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -17,6 +17,8 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ +#include "config.h" + #include <stdlib.h> #include <string.h> #include <stdio.h> @@ -865,7 +867,7 @@ main(int argc, const char *argv[]) argc = parse_options(rpm_options, argc, argv); if (option_version) { - printf("razor rpm version hoopla.\n"); + printf("razor rpm version " VERSION "\n"); exit(0); } |