diff options
author | Jan Katins <jasc@gmx.net> | 2020-09-01 19:07:12 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-01 19:07:12 +0200 |
commit | 17e8115f16ddd80190afe02f4879469f82c2872c (patch) | |
tree | 6670d93d22b53dad3413cc480491f79d4b536126 /src/print.rs | |
parent | 567ea8d2be63475841d2fe74985dbdc15d286846 (diff) |
docs: Improvements in docs for custom modules (#1615)
* docs: Clarify that commands will be passed in on stdin
* docs: Clearer instruction how to include individual custom modules
* docs: Include link to #1252 in docs for custom modules
That issue is used to share custom modules.
* docs: Remove reference to prompt_order
Co-authored-by: Thomas O'Donnell <andytom@users.noreply.github.com>
Co-authored-by: Thomas O'Donnell <andytom@users.noreply.github.com>
Diffstat (limited to 'src/print.rs')
-rw-r--r-- | src/print.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/print.rs b/src/print.rs index 28f437e50..ce45e3d04 100644 --- a/src/print.rs +++ b/src/print.rs @@ -249,19 +249,19 @@ fn handle_module<'a>( Some(false) => modules.push(modules::custom::module(&module[7..], &context)), None => match context.config.get_custom_modules() { Some(modules) => log::debug!( - "prompt_order contains custom module \"{}\", but no configuration was provided. Configuration for the following modules were provided: {:?}", + "top level format contains custom module \"{}\", but no configuration was provided. Configuration for the following modules were provided: {:?}", module, DebugCustomModules(modules), ), None => log::debug!( - "prompt_order contains custom module \"{}\", but no configuration was provided.", + "top level format contains custom module \"{}\", but no configuration was provided.", module, ), }, } } else { log::debug!( - "Expected prompt_order to contain value from {:?}. Instead received {}", + "Expected top level format to contain value from {:?}. Instead received {}", ALL_MODULES, module, ); |