flyerhzm / rails_best_practices

a code metric tool for rails projects
http://rails-bestpractices.com
MIT License
4.16k stars 276 forks source link

Fix typo in help text #381

Closed ybiquitous closed 4 years ago

ybiquitous commented 4 years ago

Hi, I found a typo in the help text:

-yml
+yaml

When you run the command rails_best_practices -f yml, the given flag -f yml is ignored. I think this is not useful. The correct command is rails_best_practices -f yaml.

https://github.com/flyerhzm/rails_best_practices/blob/92fefc118f1851cec952b9c9eee9e1bd56948cf8/lib/rails_best_practices/analyzer.rb#L64-L73