Fix error message
authorPurdea Andrei <andrei@purdea.ro>
Sun, 12 Jul 2020 22:40:13 +0000 (01:40 +0300)
committerGitHub <noreply@github.com>
Sun, 12 Jul 2020 22:40:13 +0000 (01:40 +0300)
simavr/sim/run_avr.c

index b4fda3f..a249eb5 100644 (file)
@@ -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;