diff options
author | cpldcpu <cpldcpu@gmail.com> | 2014-02-18 13:23:42 +0100 |
---|---|---|
committer | cpldcpu <cpldcpu@gmail.com> | 2014-02-18 13:23:42 +0100 |
commit | b74ff002d11a29d77ac2be2493384da662512776 (patch) | |
tree | d7e6641908c8922060383514c2cb54ec10d553f2 /commandline | |
parent | e671cb47b48a6de7f33eee0989177da06c5e4902 (diff) | |
download | micronucleus-b74ff002d11a29d77ac2be2493384da662512776.tar.gz micronucleus-b74ff002d11a29d77ac2be2493384da662512776.tar.bz2 micronucleus-b74ff002d11a29d77ac2be2493384da662512776.zip |
commandline: update help
Diffstat (limited to 'commandline')
-rw-r--r-- | commandline/micronucleus.c | 6 |
1 files changed, 5 insertions, 1 deletions
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; |