Skip to content

Commit

Permalink
Print nmrpflash version when running with -vv
Browse files Browse the repository at this point in the history
  • Loading branch information
jclehner committed Sep 29, 2024
1 parent 11a55e2 commit fe966f7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
fprintf(stderr, "Error: cannot use -A <ipaddr> without using -a <ipaddr>.\n");
return 1;
Expand Down

0 comments on commit fe966f7

Please sign in to comment.