about summary refs log tree commit diff
path: root/pkgs/games/build-support/monogame-patcher/src/options.cs
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/games/build-support/monogame-patcher/src/options.cs')
-rw-r--r--pkgs/games/build-support/monogame-patcher/src/options.cs8
1 files changed, 5 insertions, 3 deletions
diff --git a/pkgs/games/build-support/monogame-patcher/src/options.cs b/pkgs/games/build-support/monogame-patcher/src/options.cs
index ebe1f75b..32a8403e 100644
--- a/pkgs/games/build-support/monogame-patcher/src/options.cs
+++ b/pkgs/games/build-support/monogame-patcher/src/options.cs
@@ -19,10 +19,12 @@ class FixFileStreamsCmd : GenericOptions {
 
 [Verb("replace-call", HelpText="Replace calls to types.")]
 class ReplaceCallCmd : GenericOptions {
-    [Value(0, Min=2, Max=2, HelpText="Call to replace.")]
-    public IEnumerable<string> replaceCall { get; set; }
+    [Value(0, Required=true, HelpText="Method call to replace.")]
+    public string replaceMethod { get; set; }
+
+    [Value(1, Required=true, HelpText="The replacement method.")]
+    public string replacementMethod { get; set; }
 
     [Value(2, Required=true, MetaName = "type", HelpText = "Types to patch.")]
     public IEnumerable<string> typesToPatch { get; set; }
-
 };