Skip to content
This repository has been archived by the owner on Oct 2, 2019. It is now read-only.

Commit

Permalink
fix: Remove short flags for hostname and port
Browse files Browse the repository at this point in the history
Discussion available in the issue
Closes #27
  • Loading branch information
marceloboeira committed Aug 29, 2016
1 parent a958f09 commit 34edb70
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/bojack/cli.cr
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,13 @@ cli = Commander::Command.new do |command|

command.flags.add do |flag|
flag.name = "hostname"
flag.short = "-h"
flag.long = "--hostname"
flag.default = "127.0.0.1"
flag.description = "Hostname."
end

command.flags.add do |flag|
flag.name = "port"
flag.short = "-p"
flag.long = "--port"
flag.default = 5000
flag.description = "Port."
Expand Down Expand Up @@ -76,15 +74,13 @@ cli = Commander::Command.new do |command|

command.flags.add do |flag|
flag.name = "hostname"
flag.short = "-h"
flag.long = "--hostname"
flag.default = "127.0.0.1"
flag.description = "Hostname."
end

command.flags.add do |flag|
flag.name = "port"
flag.short = "-p"
flag.long = "--port"
flag.default = 5000
flag.description = "Port."
Expand Down

0 comments on commit 34edb70

Please sign in to comment.