mirror of
https://github.com/gbdev/rgbds.git
synced 2025-12-06 17:57:48 +00:00
Factor out version-printing to usage.cpp (#1870)
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user