summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--haunt/ui.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/haunt/ui.scm b/haunt/ui.scm
index e53adb8..e19a15b 100644
--- a/haunt/ui.scm
+++ b/haunt/ui.scm
@@ -116,7 +116,7 @@ There is NO WARRANTY, to the extent permitted by law.~%"
(lambda ()
(resolve-interface `(haunt ui ,command)))
(lambda -
- (haunt-error "~a: command not found" command)
+ (format (current-error-port) "~a: invalid subcommand~%" command)
(show-haunt-usage))))
(command-main (module-ref module (symbol-append 'haunt- command))))
(parameterize ((program-name command))