From 2de1824ee9e9a1bae6511b8bda6ef6ad3f57da8d Mon Sep 17 00:00:00 2001 From: niten Date: Mon, 20 Jun 2022 13:40:32 -0700 Subject: [PATCH] Forget it, let's just work it out --- src/pricebot/core.clj | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/pricebot/core.clj b/src/pricebot/core.clj index 7adce42..e3e6a34 100644 --- a/src/pricebot/core.clj +++ b/src/pricebot/core.clj @@ -185,10 +185,7 @@ missing (filter (fn [k] (not (get opts k))) keys)] (cond (:help opts) (exit! 0 (println (:summary opts))) (:errors opts) (exit! 1 (println (str/join \newline (:errors opts)))) - (not (empty? missing)) (exit! 2 (println (str "missing arguments: " (str/join " " (map name missing)) - \newline - "available: " - (str/join " " (keys opts))))) + (not (empty? missing)) (exit! 2 (println (str "missing arguments: " (str/join " " (map name missing))))) :else opts))) (defn -main [& args]