Simplify Options naming where possible

This commit is contained in:
Matt Nadareski
2025-06-02 10:19:48 -04:00
parent 8b00e3deed
commit 02f9509b86
3 changed files with 6 additions and 5 deletions

View File

@@ -10,6 +10,7 @@
- Fix tests from last commit
- Remove unnecessary options property
- Decouple retieval from login
- Simplify Options naming where possible
### 3.3.1 (2025-05-23)

View File

@@ -227,7 +227,7 @@ namespace MPF.CLI
/// <summary>
/// Enable interactive mode for entering information
/// </summary>
private static CommandOptions InteractiveMode(Frontend.Options options, out MediaType mediaType, out RedumpSystem? system)
private static CommandOptions InteractiveMode(Options options, out MediaType mediaType, out RedumpSystem? system)
{
// Create return values
var opts = new CommandOptions();
@@ -371,7 +371,7 @@ namespace MPF.CLI
/// <summary>
/// Load the current set of options from application arguments
/// </summary>
private static CommandOptions LoadFromArguments(string[] args, Frontend.Options options, ref int startIndex)
private static CommandOptions LoadFromArguments(string[] args, Options options, ref int startIndex)
{
// Create return values
var opts = new CommandOptions();

View File

@@ -16,7 +16,7 @@ namespace MPF.Check
public static void Main(string[] args)
{
// Create a default options object
var options = new Frontend.Options()
var options = new Options()
{
// Internal Program
InternalProgram = InternalProgram.NONE,
@@ -178,7 +178,7 @@ namespace MPF.Check
/// <summary>
/// Enable interactive mode for entering information
/// </summary>
private static CommandOptions InteractiveMode(Frontend.Options options, out MediaType mediaType, out RedumpSystem? system)
private static CommandOptions InteractiveMode(Options options, out MediaType mediaType, out RedumpSystem? system)
{
// Create return values
var opts = new CommandOptions();
@@ -380,7 +380,7 @@ namespace MPF.Check
/// <summary>
/// Load the current set of options from application arguments
/// </summary>
private static CommandOptions LoadFromArguments(string[] args, Frontend.Options options, ref int startIndex)
private static CommandOptions LoadFromArguments(string[] args, Options options, ref int startIndex)
{
// Create return values
var opts = new CommandOptions();