Skip to content
  1. Jul 18, 2021
  2. Oct 09, 2020
  3. Feb 25, 2020
  4. Dec 11, 2019
  5. Aug 06, 2019
    • Paul Dietz's avatar
      Make define-command work when not at top level · 6a88fd7c
      Paul Dietz authored
      A DEFVAR form was not being evaluated soon enough
      to propagate the special declaration of its var
      to subsequent uses in the expansion.  Change PROGN
      to LOCALLY (DECLARE (SPECIAL ...)) ... to get
      that information to the uses.
      6a88fd7c
  6. May 13, 2019
  7. Mar 09, 2019
  8. Jan 21, 2019
    • Eric Schulte's avatar
      Define-command prints help on arity error · 0359d9b8
      Eric Schulte authored
      Command line executables defined with the `define-command' macro now
      leverage the `command-line-arity' errors to implement their printing
      of help information on arity errors.  This improves over the previous
      logic to print help on arity error which did the arity counting of
      positional arguments before options were removed from the command line
      argument list.
      
      This change only affects clients of the `define-command' macro and the
      change should only fix a bug in the previous implementation.
      0359d9b8
    • Eric Schulte's avatar
      Positional arg arity condition raised on mismatch · 2de06b81
      Eric Schulte authored
      A newly defined and exported `command-line-arity' error will be raised
      on arity mismatch instead of a simple error.  This should not affect
      any existing clients but it does allow for the targeted capture and
      handling of these errors by client applications.
      2de06b81
  9. Oct 30, 2018
  10. Aug 24, 2018
  11. Jun 26, 2018
    • Jason Ruchti's avatar
      Allow action to modify the corresponding parameter · 8310a4f6
      Jason Ruchti authored
      Allow a command line action to modify the corresponding parameter;
      if the modification is not performed, the host program may fail when
      executed via the `program-name` function but not via the
      `run-program-name` function.
      8310a4f6
  12. Jun 21, 2018
    • Eric Schulte's avatar
      Option documentation in define-command docstrings · cc8f3595
      Eric Schulte authored
      The `define-command` macro now appends a section to the docstring of
      the generated `defun` which lists all keyword arguments and their
      :documentation descriptions.
      
      This adds a `docstring` argument to `show-option-help` which is used
      to generate this list in a format more suitable for a docstring.
      cc8f3595
  13. May 23, 2018
  14. May 22, 2018
    • Eric Schulte's avatar
      The result of calling action is assigned to option · f2063068
      Eric Schulte authored
      BACKWARD-INCOMPATIBLE change.  This change will break existing code
      which depends on options with actions being dropped from
      `*command-line-arguments*`.
      
      Previously if an action was specified then the related option was
      dropped from `*command-line-arguments*` causing any reference to it
      from the main function to return nil.
      
      With this change the return value of the function invoked by action is
      now added to `*command-line-arguments*` and subsequently passed
      through to the main function.
      f2063068
  15. Nov 18, 2015
  16. Jun 15, 2015
  17. Jun 10, 2015
  18. May 27, 2015
  19. Apr 28, 2015
  20. Dec 30, 2013
  21. Mar 03, 2013
  22. Jan 18, 2013
  23. Jul 18, 2012
  24. Oct 14, 2011
  25. Nov 10, 2009
  26. Nov 06, 2009
  27. Oct 19, 2009
  28. Oct 13, 2009
  29. Oct 02, 2009
  30. Sep 25, 2009
  31. Sep 20, 2009
  32. Sep 11, 2009