Print nmrpflash version when running with -vv
This commit is contained in:
parent
11a55e27a4
commit
fe966f75af
1 changed files with 4 additions and 0 deletions
4
main.c
4
main.c
|
|
@ -286,6 +286,10 @@ int main(int argc, char **argv)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (verbosity > 1) {
|
||||||
|
printf("nmrpflash %s.\n", NMRPFLASH_VERSION);
|
||||||
|
}
|
||||||
|
|
||||||
if (args.ipaddr_intf && !args.ipaddr) {
|
if (args.ipaddr_intf && !args.ipaddr) {
|
||||||
fprintf(stderr, "Error: cannot use -A <ipaddr> without using -a <ipaddr>.\n");
|
fprintf(stderr, "Error: cannot use -A <ipaddr> without using -a <ipaddr>.\n");
|
||||||
return 1;
|
return 1;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue