1. 18 Jul, 2021 1 commit
  2. 09 Oct, 2020 2 commits
  3. 25 Feb, 2020 2 commits
  4. 11 Dec, 2019 1 commit
  5. 06 Aug, 2019 1 commit
    • 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. 13 May, 2019 1 commit
  7. 09 Mar, 2019 1 commit
  8. 21 Jan, 2019 2 commits
    • 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. 30 Oct, 2018 2 commits
  10. 24 Aug, 2018 1 commit
  11. 26 Jun, 2018 1 commit
    • 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. 21 Jun, 2018 1 commit
    • 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. 23 May, 2018 4 commits
  14. 22 May, 2018 1 commit
    • 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. 18 Nov, 2015 1 commit
  16. 15 Jun, 2015 1 commit
  17. 10 Jun, 2015 1 commit
  18. 27 May, 2015 1 commit
  19. 28 Apr, 2015 1 commit
  20. 30 Dec, 2013 1 commit
  21. 03 Mar, 2013 1 commit
  22. 18 Jan, 2013 1 commit
  23. 18 Jul, 2012 1 commit
  24. 14 Oct, 2011 1 commit
  25. 10 Nov, 2009 1 commit
  26. 06 Nov, 2009 1 commit
  27. 19 Oct, 2009 1 commit
  28. 13 Oct, 2009 1 commit
  29. 02 Oct, 2009 1 commit
  30. 25 Sep, 2009 2 commits
  31. 20 Sep, 2009 1 commit
  32. 11 Sep, 2009 1 commit