aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/clark.asd
diff options
context:
space:
mode:
authorGravatar Tom Willemsen2013-04-06 17:24:05 +0200
committerGravatar Tom Willemsen2013-04-06 17:24:05 +0200
commitc1cbf7d59a72b7c485d4060ddaecb7469312c9e6 (patch)
treea71748cb9174825a222f7ad53a792b1cd658c3a0 /lisp/clark.asd
parentce8cfd58f40f9f1808819d702bfb505e9f7d7e1d (diff)
downloadclark-c1cbf7d59a72b7c485d4060ddaecb7469312c9e6.tar.gz
clark-c1cbf7d59a72b7c485d4060ddaecb7469312c9e6.zip
Exit with status 1 on error
Add macros `with-error-status' and `with-error-and-help' that help to easily report errors to the user. The latter also calls the `help' command. All commands, when done, exit with `*exit-status*' being the status code used. The `with-error-status' macro let-binds this variable so that the command function exits with the given status code.
Diffstat (limited to 'lisp/clark.asd')
0 files changed, 0 insertions, 0 deletions