Skip to content

Commit

Permalink
Update a deprec feature
Browse files Browse the repository at this point in the history
  • Loading branch information
Nephos committed Apr 19, 2020
1 parent efcdb7f commit 1fd6d28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/DashBot/arguments.cr
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ class DashBot::Arguments
@out = "/var/log/dash_bot/chans.log"

def use
OptionParser.parse! do |parser|
OptionParser.parse do |parser|
parser.banner = "Usage: DashBot [arguments]"
parser.on("-e error", "--errors=PATH", "Specifies the path of the error log") { |path|
@err = path
Expand Down

0 comments on commit 1fd6d28

Please sign in to comment.