mirror of
https://github.com/gbdev/rgbds.git
synced 2026-10-06 04:05:38 +00:00
Factor out version-printing to usage.cpp (#1870)
This commit is contained in:
1 parent
c8161be23a
commit
33475e2c36
6 files changed
+14
-11
No files matched your search
@@ -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