diff options
author | David Shah <dave@ds0.me> | 2020-01-14 18:47:45 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-14 18:47:45 +0000 |
commit | 4cdf002557e17b23c1b9ba2e01e51279049894a3 (patch) | |
tree | 08c24d466d84a0e90cd6f221aaed347dcf247366 /common/command.cc | |
parent | 56918e5596a8531c5a21bed8e9407fa0ea7aa507 (diff) | |
parent | 659c4fad56da8d285060c8d0edd3918e8c5a1575 (diff) | |
download | nextpnr-4cdf002557e17b23c1b9ba2e01e51279049894a3.tar.gz nextpnr-4cdf002557e17b23c1b9ba2e01e51279049894a3.tar.bz2 nextpnr-4cdf002557e17b23c1b9ba2e01e51279049894a3.zip |
Merge pull request #379 from twam/pass_version
Change version to git describe and make set-able from outside
Diffstat (limited to 'common/command.cc')
-rw-r--r-- | common/command.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/command.cc b/common/command.cc index c2f02b27..3866caca 100644 --- a/common/command.cc +++ b/common/command.cc @@ -69,14 +69,14 @@ bool CommandHandler::executeBeforeContext() { if (vm.count("help") || argc == 1) { std::cerr << boost::filesystem::basename(argv[0]) - << " -- Next Generation Place and Route (git sha1 " GIT_COMMIT_HASH_STR ")\n"; + << " -- Next Generation Place and Route (Version " GIT_DESCRIBE_STR ")\n"; std::cerr << options << "\n"; return argc != 1; } if (vm.count("version")) { std::cerr << boost::filesystem::basename(argv[0]) - << " -- Next Generation Place and Route (git sha1 " GIT_COMMIT_HASH_STR ")\n"; + << " -- Next Generation Place and Route (Version " GIT_DESCRIBE_STR ")\n"; return true; } validate(); |