hako / blackboard-dl

📚💻 Downloads lectures and workshops automagically.
MIT License
8 stars 3 forks source link

OptionParser.parse! deprecation warning #9

Closed ocelotsloth closed 4 years ago

ocelotsloth commented 4 years ago

Compiler Warnings:

In src/cli.cr:33:18

 33 | OptionParser.parse! do |parser|
                   ^-----
Warning: Deprecated OptionParser.parse!. Use `parse` instead.

My guess is that this should be straightforward to change. I'll look at the docs to see if there's any difference between them.

Reference

https://crystal-lang.org/api/0.32.1/OptionParser.html#parse!(&):self-class-method