From a6ddfb278eba3c2864530458e46716ebb6b18c7b Mon Sep 17 00:00:00 2001 From: cpldcpu Date: Sun, 16 Mar 2014 09:34:29 +0100 Subject: commandline: Display correct help for windows --- commandline/micronucleus.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/commandline/micronucleus.c b/commandline/micronucleus.c index 9e875db..1b76e72 100644 --- a/commandline/micronucleus.c +++ b/commandline/micronucleus.c @@ -73,9 +73,9 @@ int main(int argc, char **argv) { int file_type = FILE_TYPE_INTEL_HEX; int arg_pointer = 1; #if defined(WIN) - char* usage = "usage: micronucleus [--help] [--run] [--dump-progress] [--fast-mode] [--type intel-hex|raw] [--no-ansi] [--timeout integer] [--erase-only] filename"; - #else char* usage = "usage: micronucleus [--help] [--run] [--dump-progress] [--fast-mode] [--type intel-hex|raw] [--timeout integer] [--erase-only] filename"; + #else + char* usage = "usage: micronucleus [--help] [--run] [--dump-progress] [--fast-mode] [--type intel-hex|raw] [--timeout integer] [--erase-only] filename [--no-ansi]"; #endif progress_step = 0; progress_total_steps = 5; // steps: waiting, connecting, parsing, erasing, writing, (running)? -- cgit v1.2.3