Created
July 2, 2013 00:14
-
-
Save eraserhd/5905824 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (defstruct start-options | |
| pivotal-story-id) | |
| (defun parse-start-args (args) | |
| (loop with options = (make-start-options) | |
| until (null args) | |
| do (cond | |
| ((equalp "-p" (first args)) | |
| (setf (start-options-pivotal-story-id options) (second args)) | |
| (setf args (cddr args))) | |
| (t | |
| (setf args (cdr args)))) | |
| finally (return options))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment