Skip to content

Commit 141df2d

Browse files
committed
unix: Dump default heap size in usage message.
1 parent cd590cb commit 141df2d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

unix/main.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -201,8 +201,8 @@ int usage(char **argv) {
201201
impl_opts_cnt++;
202202
#if MICROPY_ENABLE_GC
203203
printf(
204-
" heapsize=<n> -- set the heap size for the GC\n"
205-
);
204+
" heapsize=<n> -- set the heap size for the GC (default %ld)\n"
205+
, heap_size);
206206
impl_opts_cnt++;
207207
#endif
208208

0 commit comments

Comments
 (0)