aboutsummaryrefslogtreecommitdiff
path: root/modules/core/module-system.js
diff options
context:
space:
mode:
Diffstat (limited to 'modules/core/module-system.js')
-rw-r--r--modules/core/module-system.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/modules/core/module-system.js b/modules/core/module-system.js
index 40b0861..43bb0b1 100644
--- a/modules/core/module-system.js
+++ b/modules/core/module-system.js
@@ -743,7 +743,11 @@
if (helpEntry) {
this.terminal.print(helpEntry, 'info');
} else {
- this.terminal.print(`No help available for ${cmd}`, 'warning');
+ // MAINT-019: a registered command with no help line answered "No help
+ // available", which reads as if the command does not exist. Name the
+ // module that owns it so the user knows where to look.
+ const owner = allCommands[cmd];
+ this.terminal.print(`${cmd} — registered by ${owner}, which publishes no help line for it. Try: help`, 'warning');
}
} else {
this.terminal.print(`No help available for ${cmd}`, 'warning');