mirror of
https://github.com/developersu/ns-usbloader.git
synced 2025-05-13 14:44:48 -04:00
Minor fixes
This commit is contained in:
parent
4d7c6f6ef1
commit
29f29b7d31
24 changed files with 139 additions and 42 deletions
|
@ -67,6 +67,11 @@ public class CommandLineInterface {
|
|||
new GoldLeafCli(arguments);
|
||||
return;
|
||||
}
|
||||
if (cli.hasOption("experimental")){
|
||||
final String[] arguments = cli.getOptionValues("experimental");
|
||||
new ExperimentalCli(arguments);
|
||||
return;
|
||||
}
|
||||
/*
|
||||
if (cli.hasOption("x") || cli.hasOption("nxdt")){
|
||||
final String[] arguments = cli.getOptionValues("nxdt");
|
||||
|
@ -153,6 +158,12 @@ public class CommandLineInterface {
|
|||
.hasArgs()
|
||||
.argName("...")
|
||||
.build();
|
||||
final Option experimentalOption = Option.builder()
|
||||
.longOpt("experimental")
|
||||
.desc("Enable testing and experimental functions")
|
||||
.hasArgs()
|
||||
.argName("y|n")
|
||||
.build();
|
||||
/* nxdumptool */
|
||||
/*
|
||||
final Option nxdtOption = Option.builder("x")
|
||||
|
@ -183,6 +194,7 @@ public class CommandLineInterface {
|
|||
group.addOption(helpOption);
|
||||
group.addOption(tinfoilOption);
|
||||
group.addOption(glOption);
|
||||
group.addOption(experimentalOption);
|
||||
//group.addOption(nxdtOption);
|
||||
group.addOption(splitOption);
|
||||
group.addOption(mergeOption);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue