Skip to content

Commit

Permalink
preventing help from overrding built in function
Browse files Browse the repository at this point in the history
  • Loading branch information
ronen committed Sep 29, 2019
1 parent 166affe commit 4f6ad46
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion dev/user.clj
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
(:require
[clojure.repl :refer :all]
[clojure.tools.namespace.repl :refer (refresh refresh-all)]
tmx.core))
[tmx.core :refer :all]))

6 changes: 3 additions & 3 deletions src/tmx/core.clj
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
(edn/read-string (slurp f))))
([& ks] (get-in (configuration) ks)))

(defn help []
(defn help- []
(println "
Usage:
tmx start {profile} - start a tmux profile
Expand All @@ -60,8 +60,8 @@ Usage:
(case (first args)
"start" (launch (second args))
"version" (version)
"help" (help)
nil (help))
"help" (help-)
nil (help-))
(catch Exception e
(stderr e)
(exit 1))))

0 comments on commit 4f6ad46

Please sign in to comment.