Update help text
This commit is contained in:
parent
2f8cdc5567
commit
28e9e840f8
1 changed files with 8 additions and 3 deletions
11
main.c
11
main.c
|
|
@ -54,10 +54,15 @@ void usage(FILE *fp)
|
||||||
" -L List network interfaces\n"
|
" -L List network interfaces\n"
|
||||||
" -h Show this screen\n"
|
" -h Show this screen\n"
|
||||||
"\n"
|
"\n"
|
||||||
"Example:\n"
|
"Example: (run as "
|
||||||
"\n"
|
|
||||||
#ifndef NMRPFLASH_WINDOWS
|
#ifndef NMRPFLASH_WINDOWS
|
||||||
"$ sudo nmrpflash -i eth0 -a 192.168.1.254 -f firmware.bin\n"
|
"root"
|
||||||
|
#else
|
||||||
|
"administrator"
|
||||||
|
#endif
|
||||||
|
")\n\n"
|
||||||
|
#ifndef NMRPFLASH_WINDOWS
|
||||||
|
"# nmrpflash -i eth0 -a 192.168.1.254 -f firmware.bin\n"
|
||||||
#else
|
#else
|
||||||
"C:\\> nmrpflash.exe -i net0 -a 192.168.1.254 -f firmware.bin\n"
|
"C:\\> nmrpflash.exe -i net0 -a 192.168.1.254 -f firmware.bin\n"
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue