Print CLI flags as received back to stdout
This commit is contained in:
parent
3a4ebe95f0
commit
dc67699b9e
|
@ -147,6 +147,7 @@ namespace BizHawk.Client.Common
|
||||||
public static int? ParseArguments(out ParsedCLIFlags parsed, string[] args)
|
public static int? ParseArguments(out ParsedCLIFlags parsed, string[] args)
|
||||||
{
|
{
|
||||||
parsed = default;
|
parsed = default;
|
||||||
|
if (args.Length is not 0) Console.WriteLine($"parsing command-line flags: {string.Join(" ", args)}");
|
||||||
var result = Parser.Parse(args);
|
var result = Parser.Parse(args);
|
||||||
if (result.Errors.Count is not 0)
|
if (result.Errors.Count is not 0)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue