From 6bd553e0a486eec125f9f8b9de4af8f177617f9c Mon Sep 17 00:00:00 2001 From: Dan Nagle Date: Wed, 27 Dec 2023 13:31:38 -0600 Subject: [PATCH] #347 bug fix for address on cli --- src/main.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main.cpp b/src/main.cpp index c7ec3341..d254f362 100755 --- a/src/main.cpp +++ b/src/main.cpp @@ -372,6 +372,10 @@ int main(int argc, char *argv[]) QString data, dataString; data.clear(); dataString.clear(); + if (argssize >= 1) { + address = args[0]; + } + if(wol) { QString targetMAC = parser.value(wolOption).trimmed().toUpper(); if (argssize >= 1) {