diff options
author | David Thompson <dthompson2@worcester.edu> | 2015-04-11 15:06:13 -0400 |
---|---|---|
committer | David Thompson <dthompson2@worcester.edu> | 2015-04-11 15:10:46 -0400 |
commit | 3320a67edb789c764fb539e97656ae811227065d (patch) | |
tree | 74c66c46d3bd4075857087cbad0075a34dde56d5 /scripts | |
parent | 11a3e70657ffe2727ed0d1164e77c6c9b3420cf4 (diff) |
ui: Improve option processing and help output.
* haunt/ui.scm (%common-options, %default-common-options): New
variables.
(simple-args-fols, show-common-options-help, leave, string->number*,
load-config): New procedures.
(haunt-error): Remove.
(show-version-and-exit): Actually exit. Add 'name' argument.
(haunt-main): Use new 'show-version-and-exit'.
* haunt/ui/serve.scm (show-server-help): Remove.
(show-help): New procedure.
(%options, %default-options): New variables.
(haunt-serve): Use SRFI-37 option processing.
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions