diff options
| author | KiritoDv <kiritodev01@gmail.com> | 2026-01-26 21:27:00 -0600 |
|---|---|---|
| committer | KiritoDv <kiritodev01@gmail.com> | 2026-01-26 21:27:00 -0600 |
| commit | 3dde9e636c8404f4e7a65a5a8522f04b86cf1fc3 (patch) | |
| tree | 8ef349152f8f92811b44d55b2da843251ae6d518 /src/main.cpp | |
| parent | 8b448a56b58099f2ac810317126b0fa60dc491c1 (diff) | |
Renamed -vf to -u to complain with C++ single char rule
Diffstat (limited to 'src/main.cpp')
| -rw-r--r-- | src/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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>", folder, "Generate OTR from a directory of assets")->required()->check(CLI::ExistingDirectory); pack->add_option("<target>", target, "Archive output destination")->required(); pack->add_option("<archive-type>", 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") { |
