From: Purdea Andrei Date: Sun, 12 Jul 2020 22:40:13 +0000 (+0300) Subject: Fix error message X-Git-Url: https://git.htl-mechatronik.at/public/?a=commitdiff_plain;h=dc429dbc6baaeb071171eeba5cae8a50b07747b2;p=sx%2Fsimavr.git Fix error message --- 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;