ui: Remove use of defunct haunt-error.
* haunt/ui.scm (run-haunt-command): Remove call to 'haunt-error'.
This commit is contained in:
@@ -116,7 +116,7 @@ There is NO WARRANTY, to the extent permitted by law.~%"
|
|||||||
(lambda ()
|
(lambda ()
|
||||||
(resolve-interface `(haunt ui ,command)))
|
(resolve-interface `(haunt ui ,command)))
|
||||||
(lambda -
|
(lambda -
|
||||||
(haunt-error "~a: command not found" command)
|
(format (current-error-port) "~a: invalid subcommand~%" command)
|
||||||
(show-haunt-usage))))
|
(show-haunt-usage))))
|
||||||
(command-main (module-ref module (symbol-append 'haunt- command))))
|
(command-main (module-ref module (symbol-append 'haunt- command))))
|
||||||
(parameterize ((program-name command))
|
(parameterize ((program-name command))
|
||||||
|
|||||||
Reference in New Issue
Block a user