From a5db13efcdc31818e26f84c6f5b8e38efc836e2e Mon Sep 17 00:00:00 2001 From: John Pavlick Date: Sun, 18 Aug 2024 12:35:58 +0300 Subject: [PATCH] fixing arg bug --- src/UFiber.Configurator/Program.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/UFiber.Configurator/Program.cs b/src/UFiber.Configurator/Program.cs index 6447f6b..a81e1e6 100644 --- a/src/UFiber.Configurator/Program.cs +++ b/src/UFiber.Configurator/Program.cs @@ -59,8 +59,9 @@ ScpClient GetSCPClient(string userName, string password, string host, int port = rootCommand.Handler = CommandHandler .Create( - (host, user, pw, port, dryRun, slid, vendor, serial, mac, fwToRestore) => + (host, user, pw, port, dryRun, slid, vendor, serial, mac, restore) => { + var fwToRestore = restore; if (string.IsNullOrWhiteSpace(host)) { Console.Error.WriteLine("Host is a required parameter and can't be empty.");