summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ports/unix/main.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/ports/unix/main.c b/ports/unix/main.c
index deda8eb70..14283321f 100644
--- a/ports/unix/main.c
+++ b/ports/unix/main.c
@@ -305,9 +305,12 @@ STATIC int do_str(const char *str) {
STATIC int usage(char **argv) {
printf(
-"usage: %s [<opts>] [-X <implopt>] [-c <command>] [<filename>]\n"
+"usage: %s [<opts>] [-X <implopt>] [-c <command> | -m <module> | <filename>]\n"
"Options:\n"
+"-i : enable inspection via REPL after running command/module/file\n"
+#if MICROPY_DEBUG_PRINTERS
"-v : verbose (trace various operations); can be multiple\n"
+#endif
"-O[N] : apply bytecode optimizations of level N\n"
"\n"
"Implementation specific options (-X):\n", argv[0]