change flash to st-flash
[fw/stlink] / flash / main.c
index f875692d1e47e756a857220a2aa05d0971cfe66b..f84323217674b88a45eefe8bf520cd3833353cfa 100644 (file)
@@ -26,17 +26,17 @@ struct opts
 
 static void usage(void)
 {
-    puts("stlinkv1 command line: ./flash [--debug] [--reset] {read|write} /dev/sgX path addr <size>");
-    puts("stlinkv1 command line: ./flash [--debug] /dev/sgX erase");
-    puts("stlinkv2 command line: ./flash [--debug] [--reset] {read|write} path addr <size>");
-    puts("stlinkv2 command line: ./flash [--debug] erase");
+    puts("stlinkv1 command line: ./st-flash [--debug] [--reset] {read|write} /dev/sgX path addr <size>");
+    puts("stlinkv1 command line: ./st-flash [--debug] /dev/sgX erase");
+    puts("stlinkv2 command line: ./st-flash [--debug] [--reset] {read|write} path addr <size>");
+    puts("stlinkv2 command line: ./st-flash [--debug] erase");
     puts("                       use hex format for addr and <size>");
 }
 
 static int get_opts(struct opts* o, int ac, char** av)
 {
-    /* stlinkv1 command line: ./flash {read|write} /dev/sgX path addr <size> */
-    /* stlinkv2 command line: ./flash {read|write} path addr <size> */
+    /* stlinkv1 command line: ./st-flash {read|write} /dev/sgX path addr <size> */
+    /* stlinkv2 command line: ./st-flash {read|write} path addr <size> */
 
     unsigned int i = 0;