summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorPaul Sokolovsky <pfalcon@users.sourceforge.net>2014-06-24 16:58:00 +0300
committerPaul Sokolovsky <pfalcon@users.sourceforge.net>2014-06-24 16:58:00 +0300
commit141df2d35043feaefe895e0e96f030264f0bfd40 (patch)
tree6c8cdd7f1fffca3fe319450aadfc7c90f4659c6c
parentcd590cbfaaaabadb79a15fea7b974c6b85c9f077 (diff)
downloadmicropython-141df2d35043feaefe895e0e96f030264f0bfd40.tar.gz
micropython-141df2d35043feaefe895e0e96f030264f0bfd40.zip
unix: Dump default heap size in usage message.
-rw-r--r--unix/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/unix/main.c b/unix/main.c
index c04045a3a0..552df9b804 100644
--- a/unix/main.c
+++ b/unix/main.c
@@ -201,8 +201,8 @@ int usage(char **argv) {
impl_opts_cnt++;
#if MICROPY_ENABLE_GC
printf(
-" heapsize=<n> -- set the heap size for the GC\n"
-);
+" heapsize=<n> -- set the heap size for the GC (default %ld)\n"
+, heap_size);
impl_opts_cnt++;
#endif