Skip to content

Commit

Permalink
report version and tie to git repo info
Browse files Browse the repository at this point in the history
  • Loading branch information
ernfrid committed Dec 5, 2014
1 parent b016644 commit f3eb6cb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/exe/bam-readcount/bamreadcount.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

#include "bamrc/auxfields.hpp"
#include "bamrc/ReadWarnings.hpp"
#include "version.h"
#include <boost/program_options.hpp>
#include "bamrc/BasicStat.hpp"

Expand Down Expand Up @@ -450,7 +451,7 @@ int main(int argc, char *argv[])
po::notify(vm);

if (vm.count("version")) {
cout << "bam-readcount version 0.7\n";
cout << "bam-readcount version: " << __g_prog_version << " (commit " << __g_commit_hash << ")\n";
return 1;
}

Expand Down

0 comments on commit f3eb6cb

Please sign in to comment.