- of "m", "music": musicOnly = true
- of "l", "lucky": feelingLucky = true
- of "f", "full-screen": fullScreen = true
- of cmdEnd:
- discard
+ of "m", "music": options["musicOnly"] = true
+ of "l", "lucky": options["feelingLucky"] = true
+ of "f", "full-screen": options["fullScreen"] = true
+ of "d", "download": options["download"] = true
+ of cmdEnd: discard
+
+ return (searchQuery, options)