Look for an stand-alone option, check the syntax, and return T if the option is found and NIL otherwise.
This function is for options that take no arguments, where the simple presence or absence of the option is meant to signal the user's intention.
Function:
(defun get-option-as-flag (ctx option option-list) (declare (xargs :guard (and (keywordp option) (keyword-option-listp option-list)))) (mv-let (msg flag) (get-option-as-flag-mv option option-list) (if msg (bomb ctx "~@0" msg) flag)))