Fix Test Mode (#246)

* Fix test mode path and args

* spoooootless

* Fix unit test resources
This commit is contained in:
Banks T
2021-03-07 21:39:02 -05:00
committed by GitHub
parent ba8d2691fc
commit 129575dd23
6 changed files with 11 additions and 12 deletions

View File

@@ -57,13 +57,11 @@ public class Main {
final var options = new Options();
options.addOption("d", "debug", false, "Enable debug logging prints");
options.addOption("h", "help", false, "Show this help text and exit");
if (!isRelease) {
options.addOption(
"t",
"test-mode",
false,
"Run in test mode with 2019 and 2020 WPI field images in place of cameras");
}
options.addOption(
"t",
"test-mode",
false,
"Run in test mode with 2019 and 2020 WPI field images in place of cameras");
CommandLineParser parser = new DefaultParser();
CommandLine cmd = parser.parse(options, args);