From b74ff002d11a29d77ac2be2493384da662512776 Mon Sep 17 00:00:00 2001 From: cpldcpu Date: Tue, 18 Feb 2014 13:23:42 +0100 Subject: commandline: update help --- commandline/micronucleus.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'commandline') diff --git a/commandline/micronucleus.c b/commandline/micronucleus.c index 63abbb1..5bef829 100644 --- a/commandline/micronucleus.c +++ b/commandline/micronucleus.c @@ -70,7 +70,11 @@ int main(int argc, char **argv) { int run = 0; int file_type = FILE_TYPE_INTEL_HEX; int arg_pointer = 1; - char* usage = "usage: micronucleus [--run] [--dump-progress] [--fast-mode] [--type intel-hex|raw] [--no-ansi] [--timeout integer] [--erase-only] filename"; + #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"; + #endif progress_step = 0; progress_total_steps = 5; // steps: waiting, connecting, parsing, erasing, writing, (running)? dump_progress = 0; -- cgit v1.2.3