projects
/
oweals
/
nmrpflash.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
95858bc
)
Adjust usage message on Windows
author
Joseph C. Lehner
<joseph.c.lehner@gmail.com>
Wed, 3 Feb 2016 15:33:51 +0000
(17:33 +0200)
committer
Joseph C. Lehner
<joseph.c.lehner@gmail.com>
Wed, 3 Feb 2016 15:33:51 +0000
(17:33 +0200)
main.c
patch
|
blob
|
history
diff --git
a/main.c
b/main.c
index 94e3e98dc59ba97171352470e49e371ad3cfcd6f..06158f54bf7440886661527f45c245997099603d 100644
(file)
--- 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"