# HG changeset patch # User Steve Losh # Date 1577132144 18000 # Node ID ef2d2c98a2b0bea6bc7d9582e49a74f04bad3bdf # Parent 46b958e3d8d1bcccb5137c39133316768820c287 Remove Javascript diff -r 46b958e3d8d1 -r ef2d2c98a2b0 docs/02-reference.markdown --- a/docs/02-reference.markdown Mon Dec 23 15:14:53 2019 -0500 +++ b/docs/02-reference.markdown Mon Dec 23 15:15:44 2019 -0500 @@ -199,6 +199,25 @@ +### `PARSE-OPTIONS-OR-EXIT` (function) + + (PARSE-OPTIONS-OR-EXIT INTERFACE &OPTIONAL (ARGUMENTS (REST (ARGV)))) + +Parse `arguments` according to `interface`, exiting if any error occurs. + + Two values are returned: + + 1. A fresh list of top-level, unaccounted-for arguments that don't correspond + to any options defined in `interface`. + 2. An `EQL` hash table of option keys to values. + + If an error occurs while parsing the arguments, exits immediately as if with + `adopt:print-error-and-exit`. + + See the full documentation for more information. + + + ### `PRINT-ERROR-AND-EXIT` (function) (PRINT-ERROR-AND-EXIT ERROR &KEY (STREAM *ERROR-OUTPUT*) (EXIT-FUNCTION #'EXIT) (EXIT-CODE 1) diff -r 46b958e3d8d1 -r ef2d2c98a2b0 docs/footer.markdown --- a/docs/footer.markdown Mon Dec 23 15:14:53 2019 -0500 +++ b/docs/footer.markdown Mon Dec 23 15:15:44 2019 -0500 @@ -1,17 +1,6 @@ Made with Lisp and love by [Steve Losh][]. -

Rochester Made

+

Rochester Made

[Steve Losh]: http://stevelosh.com/ [roc]: https://rochestermade.com/ - -