 
 parser.parseOptionsUsingDefaultArgumentsWithBlock(_parseOption)
 
+if lines.count <= 1 {
+	println("Error: you must give a puzzle to solve!")
+	exit(2)
+}
+
 println("Solving puzzle:")
 for line in lines {
 	println(" \(line)")

	}
}*/

if prefix != nil || filePath != nil {
	solution = allWords.filter() { word -> Bool in
		if prefix != nil && !word.bridgeToObjectiveC().hasPrefix(prefix) {
			return false
		}

		// Never runs, is disabled
		if fileWords != nil && JOUtil.isFound(JOUtil.binarySearchArray(fileWords, forObject:word)) {
			return false
		}


let allWords = puzzle.solve()
var solution: String[]
let prefix: String? = options["prefix"]? as? String
let showAllWords: Bool = (options["all"] != nil)
let filePath: String? = options["file"]? as? String
var fileWords: String[]

