Skip to content

Commit

Permalink
Add --zookeeper option to node command.
Browse files Browse the repository at this point in the history
Same as for admin commands, so a node can be started without a Zookeeper
instance running on localhost.
  • Loading branch information
csw committed Jan 3, 2015
1 parent ae32858 commit a68ddcd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/skuld/bin.clj
Expand Up @@ -35,7 +35,9 @@
:default 3 :parse-fn parse-int]])

(def node-spec
[["-p" "--port" "Port" :default "13000" :parse-fn parse-int]
[["-z" "--zookeeper" "Zookeeper connection string"
:default "localhost:2181"]
["-p" "--port" "Port" :default "13000" :parse-fn parse-int]
["-h" "--host" "Hostname" :default "127.0.0.1"]])

; Cluster configuration
Expand Down

0 comments on commit a68ddcd

Please sign in to comment.