summaryrefslogtreecommitdiffstats
path: root/commandline
diff options
context:
space:
mode:
authorcpldcpu <cpldcpu@gmail.com>2014-02-18 13:23:42 +0100
committercpldcpu <cpldcpu@gmail.com>2014-02-18 13:23:42 +0100
commitb74ff002d11a29d77ac2be2493384da662512776 (patch)
treed7e6641908c8922060383514c2cb54ec10d553f2 /commandline
parente671cb47b48a6de7f33eee0989177da06c5e4902 (diff)
downloadmicronucleus-b74ff002d11a29d77ac2be2493384da662512776.tar.gz
micronucleus-b74ff002d11a29d77ac2be2493384da662512776.tar.bz2
micronucleus-b74ff002d11a29d77ac2be2493384da662512776.zip
commandline: update help
Diffstat (limited to 'commandline')
-rw-r--r--commandline/micronucleus.c6
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;