                 (get-in cmds [cmd :fn])
                 (rest arg)))
           (and allow-eval (list? arg)) (eval arg)
-          :default (err-fn (str "Invalid command: \"" arg "\". Please type \"help\" to get an overview of commands.") opts))
+          :else (err-fn (str "Invalid command: \"" arg "\". Please type \"help\" to get an overview of commands.") opts))
         (catch Exception e
           (err-fn e opts))))))
 

                             history-file (jio/file history-file-name)]
                         (FileHistory. history-file))
                       nil)
        _ (if (not (nil? file-history))
            (.setHistory in-rdr file-history))
        arg-hint-completers (create-arg-hint-completers cmds)
        _ (doseq [compl arg-hint-completers]


          (nil? line) request-exit

          :else request-prompt)))))

(defn resolve-cmd-alias
  "This function is used to resolve the full command definition for a given command alias.
