From f68e4c201f2defeb8fa8f7812887c4509f6c4808 Mon Sep 17 00:00:00 2001 From: Nic McDonald Date: Wed, 14 Jan 2015 22:52:13 -0800 Subject: [PATCH] change flash to st-flash Previous commit changed binary "flash" to "st-flash" but the actual code printed help message still called it "flash". This commit changes it to "st-flash". --- flash/main.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/flash/main.c b/flash/main.c index f875692..f843232 100644 --- a/flash/main.c +++ b/flash/main.c @@ -26,17 +26,17 @@ struct opts static void usage(void) { - puts("stlinkv1 command line: ./flash [--debug] [--reset] {read|write} /dev/sgX path addr "); - puts("stlinkv1 command line: ./flash [--debug] /dev/sgX erase"); - puts("stlinkv2 command line: ./flash [--debug] [--reset] {read|write} path addr "); - puts("stlinkv2 command line: ./flash [--debug] erase"); + puts("stlinkv1 command line: ./st-flash [--debug] [--reset] {read|write} /dev/sgX path addr "); + puts("stlinkv1 command line: ./st-flash [--debug] /dev/sgX erase"); + puts("stlinkv2 command line: ./st-flash [--debug] [--reset] {read|write} path addr "); + puts("stlinkv2 command line: ./st-flash [--debug] erase"); puts(" use hex format for addr and "); } static int get_opts(struct opts* o, int ac, char** av) { - /* stlinkv1 command line: ./flash {read|write} /dev/sgX path addr */ - /* stlinkv2 command line: ./flash {read|write} path addr */ + /* stlinkv1 command line: ./st-flash {read|write} /dev/sgX path addr */ + /* stlinkv2 command line: ./st-flash {read|write} path addr */ unsigned int i = 0; -- 2.30.2