# HG changeset patch
# User Steve Losh
Adopt aims to be a simple, robust option parser. It can automatically print
help information and even generate man
pages for you.
Adopt is compatible with Quicklisp, but not in Quicklisp (yet). You can clone -the repository into your Quicklisp local-projects directory for now.
+Adopt can be installed with Quicklisp: (ql:quickload :adopt)
.
The adopt
system contains the core API and depends on Bobbin and
split-sequence.
The adopt/test
system contains the test suite, which depends on some other
diff -r f204de42ccef -r 8058918d4932 adopt/installation/index.html
--- a/adopt/installation/index.html Mon Dec 23 14:58:52 2019 -0500
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,39 +0,0 @@
-
-
-
Adopt is compatible with Quicklisp, but not in Quicklisp (yet?). You can -clone the repository into your Quicklisp local-projects directory for -now.
-The adopt
system contains the core API and depends on Bobbin and
-split-sequence.
The adopt.test
system contains the test suite, which uses depends on some
-other systems. You don't need to load this unless you want to run the unit
-tests.
EQL
hash table of option keys to values.See the full documentation for more information.
+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:
+interface
.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) (PREFIX error: )) diff -r f204de42ccef -r 8058918d4932 adopt/usage/index.html --- a/adopt/usage/index.html Mon Dec 23 14:58:52 2019 -0500 +++ b/adopt/usage/index.html Mon Dec 23 15:15:01 2019 -0500 @@ -138,7 +138,7 @@
Adopt's line-wrapping library Bobbin will only ever add line breaks, never +
Adopt's line-wrapping library Bobbin will only ever add line breaks, never
remove them, which means you can include breaks in the output if you want to
have multiple paragraphs in your help text. Once again, format
is your
friend: