Skip to content

argparse v2.3.3

Latest

Choose a tag to compare

@trevorld trevorld released this 31 Oct 17:16
  • ArgumentParser() now also checks the LITTLER_SCRIPT_PATH environment variable for the script name so it works when called from littler.
  • parse_known_args() and parse_known_intermixed_args() now return character(0) instead of an empty list as the second element when there are no unrecognized arguments.
  • The R6 objects returned by ArgumentParser() and its methods can no longer be cloned. Their clone() method didn't produce independent copies and could cause arguments to be added to the wrong parser or group.
  • The R6 classes returned by ArgumentParser() and its methods (Parser, ArgumentGroup, MutuallyExclusiveGroup, and Subparsers) are now documented.
  • Mutually exclusive groups (as returned by add_mutually_exclusive_group()) are now MutuallyExclusiveGroup R6 objects instead of Group R6 objects. Group is now the shared parent class of ArgumentGroup and MutuallyExclusiveGroup.