Skip to content

Commit a6f98e1

Browse files
Adding version information from the config.h source file generated by autotools
1 parent 20af18f commit a6f98e1

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/dnmtools.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@
1818
#include <string>
1919
#include <cstring>
2020

21+
#include <config.h>
22+
2123
using std::string;
2224
using std::to_string;
2325
using std::cerr;
@@ -66,7 +68,7 @@ void
6668
print_help() {
6769
static const string sep = " ";
6870
cout << "Program: " << PROGRAM_NAME << "\n";
69-
cout << "Version: " << PROGRAM_VERSION << "\n";
71+
cout << "Version: " << VERSION << "\n";
7072
cout << "Usage: " << PROGRAM_NAME << " <command> [options]\n";
7173
cout << "Commands:";
7274

0 commit comments

Comments
 (0)