From: Joseph C. Lehner Date: Wed, 3 Feb 2016 15:33:51 +0000 (+0200) Subject: Adjust usage message on Windows X-Git-Tag: v0.9~54 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=98b8bc3c74515bc59eaf86c0ea587252b1c56c0c;p=oweals%2Fnmrpflash.git Adjust usage message on Windows --- 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"