From 98b8bc3c74515bc59eaf86c0ea587252b1c56c0c Mon Sep 17 00:00:00 2001 From: "Joseph C. Lehner" Date: Wed, 3 Feb 2016 17:33:51 +0200 Subject: [PATCH] Adjust usage message on Windows --- main.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/main.c b/main.c index 94e3e98..06158f5 100644 --- a/main.c +++ b/main.c @@ -46,7 +46,11 @@ void usage(FILE *fp) "\n" "Example:\n" "\n" - "$ sudo nmrp-flash -a 192.168.1.254 -i eth0 -f firmware.bin\n" +#ifndef NMRPFLASH_WINDOWS + "$ sudo nmrp-flash -i eth0 -a 192.168.1.254 -f firmware.bin\n" +#else + "C:\\> nmrp-flash.exe -i net0 -a 192.168.1.254 -f firmware.bin\n" +#endif "\n" "nmrp-flash v%s, Copyright (C) 2016 Joseph C. Lehner\n" "nmrp-flash is free software, licensed under the GNU GPLv3.\n" -- 2.25.1