# HG changeset patch # User Steve Losh # Date 1577132101 18000 # Node ID 8058918d4932eb0cd5a0513eaeba0a5c8d89feb3 # Parent f204de42ccef92dca1169845f46fb095d7667dc0 adopt: Update site. diff -r f204de42ccef -r 8058918d4932 adopt/index.html --- a/adopt/index.html Mon Dec 23 14:58:52 2019 -0500 +++ b/adopt/index.html Mon Dec 23 15:15:01 2019 -0500 @@ -17,14 +17,13 @@ Python's optparse and argparse.

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 @@ - - - - - Installation / Adopt - - - - - -

-

Adopt

-
-

Installation

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.

-
-

Made with Lisp and love by Steve Losh.

-

Rochester Made

- -
-
- - \ No newline at end of file diff -r f204de42ccef -r 8058918d4932 adopt/reference/index.html --- a/adopt/reference/index.html Mon Dec 23 14:58:52 2019 -0500 +++ b/adopt/reference/index.html Mon Dec 23 15:15:01 2019 -0500 @@ -32,6 +32,7 @@
  • MAKE-INTERFACE (function)
  • MAKE-OPTION (function)
  • PARSE-OPTIONS (function)
  • +
  • PARSE-OPTIONS-OR-EXIT (function)
  • PRINT-ERROR-AND-EXIT (function)
  • PRINT-HELP (function)
  • PRINT-HELP-AND-EXIT (function)
  • @@ -202,6 +203,21 @@
  • An 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:

    +
      +
    1. A fresh list of top-level, unaccounted-for arguments that don't correspond + to any options defined in interface.
    2. +
    3. An EQL hash table of option keys to values.
    4. +
    +

    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 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: