raco {pkg,planet}: exit with non-0 status for bad sub-command
This commit is contained in:
parent
b99260bb32
commit
82326631a9
|
@ -82,9 +82,10 @@
|
|||
(newline)
|
||||
(display "Usage:\n")
|
||||
(display help-string)
|
||||
(exit))))] ...
|
||||
["help" (help)]
|
||||
[else (help)])))))]))
|
||||
(exit))))]
|
||||
...
|
||||
["help" (help)]
|
||||
[else (begin (help) (exit 1))])))))]))
|
||||
|
||||
|
||||
;; display-help-message : string string (listof (list string string)) -> void
|
||||
|
|
Loading…
Reference in New Issue
Block a user