aboutsummaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorCatherine <whitequark@whitequark.org>2023-02-23 03:14:42 +0000
committermyrtle <gatecat@ds0.me>2023-02-23 09:44:46 +0100
commit8f0731edc99c828ffa850207c80cfb99651b6ae4 (patch)
tree8141f3404c8618172454a4aceb672db1cebbf117 /common
parent088c822e289cafaf1af991243d77522d0ee934c9 (diff)
downloadnextpnr-8f0731edc99c828ffa850207c80cfb99651b6ae4.tar.gz
nextpnr-8f0731edc99c828ffa850207c80cfb99651b6ae4.tar.bz2
nextpnr-8f0731edc99c828ffa850207c80cfb99651b6ae4.zip
common: update deprecated use of `boost::filesystem::basename`.
Diffstat (limited to 'common')
-rw-r--r--common/kernel/command.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/kernel/command.cc b/common/kernel/command.cc
index 5f40ffab..8c8b5950 100644
--- a/common/kernel/command.cc
+++ b/common/kernel/command.cc
@@ -86,14 +86,14 @@ bool CommandHandler::parseOptions()
bool CommandHandler::executeBeforeContext()
{
if (vm.count("help") || argc == 1) {
- std::cerr << boost::filesystem::basename(argv[0])
+ std::cerr << boost::filesystem::path(argv[0]).stem()
<< " -- 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])
+ std::cerr << boost::filesystem::path(argv[0]).stem()
<< " -- Next Generation Place and Route (Version " GIT_DESCRIBE_STR ")\n";
return true;
}