Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ target/
.claude
mcpp.lock
doctor.log
/.mcpp-bmi/

# editor / OS
.DS_Store
Expand Down
4 changes: 2 additions & 2 deletions src/cli.cppm
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ namespace mcpp::cli {
// canonical printer here so the docs/CHANGELOG examples don't drift
// every time cmdline tweaks its formatting.
void print_usage() {
std::println("mcpp v{} modern C++23 build tool", mcpp::toolchain::MCPP_VERSION);
std::println("mcpp v{} - modern C++23 build tool", mcpp::toolchain::MCPP_VERSION);
std::println("");
std::println("Usage:");
std::println("Project commands:");
Expand Down Expand Up @@ -121,7 +121,7 @@ int run(int argc, char** argv) {
std::string_view a = argv[1];
if (a == "--help" || a == "-h") { print_usage(); return 0; }
if (a == "--version" || a == "-V") {
std::println("mcpp {} - ", mcpp::toolchain::MCPP_VERSION);
std::println("mcpp {}", mcpp::toolchain::MCPP_VERSION);
return 0;
}
}
Expand Down
Loading