summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Bowes <jbowes@redhat.com>2008-06-23 20:20:08 -0400
committerJames Bowes <jbowes@redhat.com>2008-06-23 20:20:08 -0400
commit2929e9ff9032aae4e063fbb62ea73d0d32234376 (patch)
tree178ed88e51b606f67bc81fc9aa1d244496515af2
parent4033be683b882579421778ca6c3f2e710f2a9a84 (diff)
Display razor version number for rpm --version
-rw-r--r--src/rpm.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/rpm.c b/src/rpm.c
index ab3e55a..736ca14 100644
--- a/src/rpm.c
+++ b/src/rpm.c
@@ -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);
}