Commit 78a94f34 authored by Zygmunt Krynicki's avatar Zygmunt Krynicki
Browse files

lm4flash.c: Add flasher_usage() function

This function simply shows the command line arguments
parent 1f3bdce3
......@@ -596,6 +596,16 @@ out:
return flasher_error;
printf("usage: lm4flash [-v] [-s serial] <binary-file>\n");
printf("\t-v - Enables verification after write\n");
printf("\t-s SERIAL - Flash device with the following serial\n");
int main(int argc, char *argv[])
libusb_context *ctx = NULL;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment