Skip to content

Commit ddd8e43

Browse files
committed
Fix Guid being printed as g_u_i_d
1 parent b7a2627 commit ddd8e43

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

RimeLib.Cmd/Commands/Game/DumpPartitionByGuidCommand.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ namespace RimeLib.Cmd.Commands.Game
1010
public class DumpPartitionByGuidCommand : Command
1111
{
1212
[CommandArgument(Description = "The guid of the partition to dump.")]
13-
public GUID? GUID { get; set; }
13+
public GUID? Guid { get; set; }
1414

1515
[CommandArgument(Description = "The destination file name where the partition will be dumped to.")]
1616
public FileInfo? Destination { get; set; }
@@ -19,7 +19,7 @@ public override bool Execute(ref ExecutionContext p_Context, TextWriter p_Writer
1919
{
2020
try
2121
{
22-
((GameContext) p_Context).DumpPartitionByGuid(GUID!, Destination!);
22+
((GameContext) p_Context).DumpPartitionByGuid(Guid!, Destination!);
2323
p_Writer.WriteLine("Partition successfully dumped.");
2424
return true;
2525
}

RimeLib.Cmd/Commands/Game/DumpPartitionJsonByGuidCommand.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ namespace RimeLib.Cmd.Commands.Game
1111
public class DumpPartitionJsonByGuidCommand : Command
1212
{
1313
[CommandArgument(Description = "The name of the partition to dump to JSON.")]
14-
public GUID? GUID { get; set; }
14+
public GUID? Guid { get; set; }
1515

1616
[CommandArgument(Description = "The destination file name where the partition will be dumped to.")]
1717
public FileInfo? Destination { get; set; }
@@ -23,7 +23,7 @@ public override bool Execute(ref ExecutionContext p_Context, TextWriter p_Writer
2323
{
2424
try
2525
{
26-
((GameContext) p_Context).DumpPartitionJsonByGuid(GUID!, Destination!, Formatting);
26+
((GameContext) p_Context).DumpPartitionJsonByGuid(Guid!, Destination!, Formatting);
2727
p_Writer.WriteLine("Partition successfully dumped to JSON.");
2828
return true;
2929
}

0 commit comments

Comments
 (0)