mirror of
https://github.com/ashinn/chibi-scheme.git
synced 2025-07-11 23:17:34 +02:00
run-application prints help when a command is expected and none given
This commit is contained in:
parent
1e69cbc90f
commit
93002110f4
1 changed files with 4 additions and 1 deletions
|
@ -276,5 +276,8 @@
|
|||
(if init (init cfg))
|
||||
(apply proc cfg spec args)
|
||||
(if end (end cfg)))))
|
||||
((null? (cdr args))
|
||||
(apply app-help-command config spec args)
|
||||
(error "Expected a command"))
|
||||
(else
|
||||
(error "Unknown command: " args)))))
|
||||
(error "Unknown command: " (cdr args))))))
|
||||
|
|
Loading…
Add table
Reference in a new issue