diff options
author | Yonatan Goldschmidt <yon.goldschmidt@gmail.com> | 2019-02-04 23:23:15 +0200 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2019-02-06 00:23:16 +1100 |
commit | ec31438c545a0fadfe7b0107779d7fbc1a0eb646 (patch) | |
tree | 85a70329c6999ef0448ab577ae60674064393f65 /py/builtinhelp.c | |
parent | 8fea833e3fefe1af94562b2a72c0e154d42424c6 (diff) |
py/builtinhelp: Only print help re FS modules if external import enabled
Diffstat (limited to 'py/builtinhelp.c')
-rw-r--r-- | py/builtinhelp.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/py/builtinhelp.c b/py/builtinhelp.c index b36f4c9d3..3b0ad71e6 100644 --- a/py/builtinhelp.c +++ b/py/builtinhelp.c @@ -123,8 +123,10 @@ STATIC void mp_help_print_modules(void) { mp_print_str(MP_PYTHON_PRINTER, "\n"); } + #if MICROPY_ENABLE_EXTERNAL_IMPORT // let the user know there may be other modules available from the filesystem mp_print_str(MP_PYTHON_PRINTER, "Plus any modules on the filesystem\n"); + #endif } #endif |