Skip to content

Commit

Permalink
added version information
Browse files Browse the repository at this point in the history
  • Loading branch information
cdstouter committed Apr 13, 2017
1 parent adb0a81 commit 2128deb
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
2 changes: 2 additions & 0 deletions main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
#include <vector>
#include <boost/program_options.hpp>

#include "version.hpp"
#include "utilities.hpp"
#include "limiter.hpp"

Expand Down Expand Up @@ -72,6 +73,7 @@ int main(int argc, char **argv) {
}

if (vm.count("help")) {
std::cout << "SteadySound v" << STEADYSOUND_MAJOR_VERSION << "." << STEADYSOUND_MINOR_VERSION << std::endl << std::endl;
std::cout << "Usage: " << argv[0] << " input output OPTIONS" << std::endl << std::endl;
std::cout << prettyDesc << std::endl;
std::cout << "The input file can be in any format that libsndfile supports, which includes ";
Expand Down
7 changes: 7 additions & 0 deletions version.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#ifndef VERSION_HPP
#define VERSION_HPP

#define STEADYSOUND_MAJOR_VERSION 1
#define STEADYSOUND_MINOR_VERSION 0

#endif

0 comments on commit 2128deb

Please sign in to comment.