Skip to content

Commit

Permalink
Fix range in port validation error message.
Browse files Browse the repository at this point in the history
  • Loading branch information
brunchboy committed Oct 17, 2023
1 parent a91708d commit 9a04313
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/open_beat_control/core.clj
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
["-c" "--carabiner-port PORT" "When bridging, port # of Carabiner daemon"
:default 17000
:parse-fn #(Long/parseLong %)
:validate [#(< 0 % 0x10000) "Must be a number between 0 and 65536"]]
:validate [#(< 0 % 0x10000) "Must be a number between 1 and 65535"]]
["-l" "--latency MS" "How many milliseconds are we behind the CDJs"
:default 20
:parse-fn #(Long/parseLong %)
Expand Down

0 comments on commit 9a04313

Please sign in to comment.