Closed badeball closed 8 years ago
Thanks! And sorry for the delay looking at this one!
This has been released in 4.3.6: https://rubygems.org/gems/commander/versions/4.3.6
Thanks again!
@ggilder, it may seem that we were both a bit quick with this one. If one omits the description for an option, an error is raised.
lib/commander/help_formatters.rb:46:in `indent': undefined method `gsub' for nil:NilClass (NoMethodError)
Good catch! I've just pushed 4.3.7 with a fix for that.
9ea5c0f added indentation of program and command descriptions. However, I've found myself also sometimes wanting multiline option descriptions, like the
-u
option fromgit-commit
have (shown below). This patch adds identing of option descriptions.