Skip to content
  • Zachary T Welch's avatar
    Add macro for parsing numeric command arguments. · 36a3646c
    Zachary T Welch authored
    This helper eliminates significant amount of redundant code in command
    handler functions throughout the system.  It wraps the lower-level
    parse_* macros to implement a policy for reporting parse errors to the
    active command context (cmd_ctx).  If errors do occur, this macro causes
    the calling function to abort with the proper return code.
    36a3646c