Factor out version-printing to usage.cpp (#1870)

This commit is contained in:
Rangi authored and GitHub committed 2025-12-05 23:04:49 -05:00
1 parent c8161be23a
commit 33475e2c36
6 files changed
+14 -11

No files matched your search

+2
View File
@@ -13,6 +13,8 @@ struct Usage {
std::vector<std::string> flags;
std::vector<std::pair<std::vector<std::string>, std::vector<std::string>>> options;
void printVersion(bool error) const;
[[noreturn]]
void printAndExit(int code) const;