Skip to content

Commit

Permalink
Add note to --help re: rom argument
Browse files Browse the repository at this point in the history
thanks MS
  • Loading branch information
YoshiRulz committed Dec 15, 2024
1 parent 6cb19d8 commit ab5d92f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/BizHawk.Client.Common/ArgParser.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public BespokeOption(string[] aliases, string description)
: base(aliases, description) {}
}

private static readonly Argument<string?> ArgumentRomFilePath = new(name: "rom", () => null, description: "path; if specified, the file will be loaded the same way as it would be from `File` > `Open...`");
private static readonly Argument<string?> ArgumentRomFilePath = new(name: "rom", () => null, description: "path; if specified, the file will be loaded the same way as it would be from `File` > `Open...`; this argument can and should be given LAST despite what it says at the top of --help");

private static readonly IReadOnlyList<Option> GeneratedOptions;

Expand Down

2 comments on commit ab5d92f

@Morilli
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this necessary? does anything break when the rom is specified as the first argument before any options?

@YoshiRulz
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No it's fine, I was just bothered by

Usage:
  EmuHawk [<rom>] [options]

Please sign in to comment.