Skip to content

Commit

Permalink
Help message changes
Browse files Browse the repository at this point in the history
  • Loading branch information
gablm committed Jan 9, 2024
1 parent 9725ef6 commit 87ef616
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions CollapseLauncher/Classes/Properties/ArgumentParser.cs
Original file line number Diff line number Diff line change
Expand Up @@ -216,15 +216,16 @@ private static void ParseStartGameArguments(params string[] args)
{
var gameOption = new Option<string>(new string[] { "--game", "-g" },
description: "Game number/name\n" +
"e.g. 0 or \"Honkai Impact 3rd\", 1 or \"Genshin Impact\", 2 or \"Honkai: Star Rail\", etc") { IsRequired = true, AllowMultipleArgumentsPerToken = true };
"e.g. 0 or \"Honkai Impact 3rd\""
) { IsRequired = true, AllowMultipleArgumentsPerToken = true };
var regionOption = new Option<string>(new string[] { "--region", "-r" },
description: "Region number/name\n" +
"The available regions depend on the Game specified before\n" +
"e.g. For Genshin Impact, 0 or \"Global\" would load the Global region for the game") { IsRequired = false, AllowMultipleArgumentsPerToken = true };
"e.g. For Genshin Impact, 0 or \"Global\" would load the Global region for the game"
) { IsRequired = false, AllowMultipleArgumentsPerToken = true };
var startGameOption = new Option<bool>(new string[] { "--play", "-p" }, description: "Start Game after loading the Game/Region") { IsRequired = false };
var command = new Command("open", "Open the Launcher in a specific Game and Region (if specified)\n" +
"Note that game/regions provided will be ignored if invalid\n" +
"The quotes are required if the game/region name has spaces");
var command = new Command("open", "Open the Launcher in a specific Game and Region (if specified).\n" +
"Note that game/regions provided will be ignored if invalid.\n" +
"Quotes are required if the game/region name has spaces.");
command.AddOption(gameOption);
command.AddOption(regionOption);
command.AddOption(startGameOption);
Expand Down

0 comments on commit 87ef616

Please sign in to comment.