Skip to content

Commit

Permalink
#347 bug fix for address on cli
Browse files Browse the repository at this point in the history
  • Loading branch information
dannagle committed Dec 27, 2023
1 parent b10bdc6 commit 6bd553e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 6bd553e

Please sign in to comment.