Userland+LibCore: Remove legacy SERENITY_VERSION from Core::Version

This was being used as a default version argument in a couple of APIs,
so those need to change signature and the caller always needs to provide
a version.
This commit is contained in:
kleines Filmröllchen
2022-08-30 12:49:08 +02:00
committed by Linus Groh
parent 38bb189772
commit cb0b82ec46
7 changed files with 10 additions and 10 deletions

View File

@@ -367,7 +367,7 @@ void ArgsParser::print_usage_markdown(FILE* file, char const* argv0)
void ArgsParser::print_version(FILE* file)
{
outln(file, Core::Version::SERENITY_VERSION);
outln(file, Core::Version::read_long_version_string());
}
void ArgsParser::add_option(Option&& option)