From dc429dbc6baaeb071171eeba5cae8a50b07747b2 Mon Sep 17 00:00:00 2001 From: Purdea Andrei Date: Mon, 13 Jul 2020 01:40:13 +0300 Subject: [PATCH] Fix error message --- simavr/sim/run_avr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/simavr/sim/run_avr.c b/simavr/sim/run_avr.c index b4fda3f..a249eb5 100644 --- a/simavr/sim/run_avr.c +++ b/simavr/sim/run_avr.c @@ -205,7 +205,7 @@ main( char * suffix = strrchr(filename, '.'); if (suffix && !strcasecmp(suffix, ".hex")) { if (!name[0] || !f_cpu) { - fprintf(stderr, "%s: -mcu and -freq are mandatory to load .hex files\n", argv[0]); + fprintf(stderr, "%s: --mcu and --freq are mandatory to load .hex files\n", argv[0]); exit(1); } ihex_chunk_p chunk = NULL; -- 2.39.5