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; }