Command-line Parsing

get_option - Parse integer from an option string
get_options - Parse a string into a list of integers
memparse - parse a string with mem suffixes into a number