diff options
author | aszlig <aszlig@nix.build> | 2018-07-18 11:47:03 +0200 |
---|---|---|
committer | aszlig <aszlig@nix.build> | 2018-07-19 06:35:24 +0200 |
commit | ec65da1fbc93bd4fcdbdf20cb41c085ece53473c (patch) | |
tree | c73242ef0680067486de97f5ddca30fdd06bcc16 /pkgs/games/build-support/monogame-patcher/src/options.cs | |
parent | be80103bd659e922569deb9c52982a8c081fb698 (diff) |
monogame-patcher: Allow specifying extra assembly
If we want to replace a call with one that's not in a module which is currently referenced by the target file we now have another command line flag for replace-call (-a) where we can specify the additional DLL file. Signed-off-by: aszlig <aszlig@nix.build>
Diffstat (limited to 'pkgs/games/build-support/monogame-patcher/src/options.cs')
-rw-r--r-- | pkgs/games/build-support/monogame-patcher/src/options.cs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/games/build-support/monogame-patcher/src/options.cs b/pkgs/games/build-support/monogame-patcher/src/options.cs index 32a8403e..73add8d6 100644 --- a/pkgs/games/build-support/monogame-patcher/src/options.cs +++ b/pkgs/games/build-support/monogame-patcher/src/options.cs @@ -27,4 +27,8 @@ class ReplaceCallCmd : GenericOptions { [Value(2, Required=true, MetaName = "type", HelpText = "Types to patch.")] public IEnumerable<string> typesToPatch { get; set; } + + [Option('a', "assembly", + HelpText="Look up replacement from the specified assembly.")] + public string assemblyFile { get; set; } }; |