Navigation Menu

Skip to content

Commit

Permalink
Clarify unknown keys warning
Browse files Browse the repository at this point in the history
  • Loading branch information
guns committed Apr 22, 2014
1 parent 56ecd5f commit fb880ee
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/clojure/cljs/tools/cli.cljs
Expand Up @@ -64,7 +64,7 @@
;; The following is formatted strangely for better manual diffing
(let [unknown-keys (keys (apply dissoc map spec-keys))]
(when (seq unknown-keys)
(println (str "Warning: The following cli options are unrecognized: "
(println (str "Warning: The following options to parse-opts are unrecognized: "
(s/join ", " unknown-keys)))))
(select-keys map spec-keys))

Expand Down
2 changes: 1 addition & 1 deletion src/main/clojure/clojure/tools/cli.clj
Expand Up @@ -222,7 +222,7 @@
(let [unknown-keys (keys (apply dissoc map spec-keys))]
(when (seq unknown-keys)
(binding [*out* *err*]
(println (str "Warning: The following cli options are unrecognized: "
(println (str "Warning: The following options to parse-opts are unrecognized: "
(s/join ", " unknown-keys)))))
))
(select-keys map spec-keys))
Expand Down

0 comments on commit fb880ee

Please sign in to comment.