rails / thor

Thor is a toolkit for building powerful command-line interfaces.
http://whatisthor.com/
MIT License
5.11k stars 552 forks source link

Don't document negative boolean option named `no_*` #797

Closed BrentWheeldon closed 1 year ago

BrentWheeldon commented 1 year ago

🌈

I ran into this earlier today where I had underscored option names. Let me know if there is anything else I should include! 🙇🏻

dorner commented 1 year ago

@BrentWheeldon looks like this fails on some versions of Ruby!

BrentWheeldon commented 1 year ago

@dorner Ah - I didn't realise that String#starts_with? only relatively recently started accepting a regex. Fixed!

dorner commented 1 year ago

Nice, looks good to me! @rafaelfranca