From 3dde9e636c8404f4e7a65a5a8522f04b86cf1fc3 Mon Sep 17 00:00:00 2001 From: KiritoDv Date: Mon, 26 Jan 2026 21:27:00 -0600 Subject: Renamed -vf to -u to complain with C++ single char rule --- src/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main.cpp') diff --git a/src/main.cpp b/src/main.cpp index 7edc3b8..dd09b31 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -46,7 +46,7 @@ int main(int argc, char *argv[]) { o2r->add_option("-s,--srcdir", srcdir, "Set source directory to locate config.yml and asset metadata for processing")->check(CLI::ExistingDirectory); o2r->add_option("-d,--destdir", destdir, "Set destination directory for export"); o2r->add_option("-a,--additional-files", additionalFiles, "Additional files to include in the o2r archive (e.g., mods.toml)")->check(CLI::ExistingFile); - o2r->add_option("-vf,--version", version, "Version to set in the o2r archive"); + o2r->add_option("-u,--version", version, "Version to set in the o2r archive"); o2r->parse_complete_callback([&] { const auto instance = Companion::Instance = new Companion(filename, ArchiveType::O2R, debug, srcdir, destdir); @@ -105,7 +105,7 @@ int main(int argc, char *argv[]) { pack->add_option("", folder, "Generate OTR from a directory of assets")->required()->check(CLI::ExistingDirectory); pack->add_option("", target, "Archive output destination")->required(); pack->add_option("", archive, "Archive type: otr or o2r")->required(); - pack->add_option("-vf,--version", version, "Version to set in the o2r archive"); + pack->add_option("-u,--version", version, "Version to set in the o2r archive"); pack->parse_complete_callback([&] { if (archive == "otr") { -- cgit v1.2.3