diff options
author | Matt Ward <matt.ward@microsoft.com> | 2021-02-08 20:49:28 +0300 |
---|---|---|
committer | Matt Ward <matt.ward@microsoft.com> | 2021-02-09 13:07:05 +0300 |
commit | b280fad64f11dffd027e8165a54bb30f1fae19be (patch) | |
tree | dd78a6dd989c8296539419235b4814e1ea4e1507 | |
parent | b7aa8c3a97a8b0a0e17819ff3c28e680760e3338 (diff) |
Fix IndexOutOfRangeException when using get-desc with SetupProcess
Fixed the setup process tool trying to use too many command line
arguments. The out directory is passed on stdin not as a command
line argument.
-rw-r--r-- | Mono.Addins.SetupProcess/SetupProcessTool.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Mono.Addins.SetupProcess/SetupProcessTool.cs b/Mono.Addins.SetupProcess/SetupProcessTool.cs index 6c68546..65f0032 100644 --- a/Mono.Addins.SetupProcess/SetupProcessTool.cs +++ b/Mono.Addins.SetupProcess/SetupProcessTool.cs @@ -62,7 +62,7 @@ namespace Mono.Addins.SetupProcess } case "get-desc": var outFile = Console.In.ReadLine (); - reg.ParseAddin (monitor, args [2], args [3]); + reg.ParseAddin (monitor, args [2], outFile); break; } } catch (Exception ex) { |