diff options
author | Lee Jarvis <leejarvis@fastmail.com> | 2020-07-10 08:36:54 +0100 |
---|---|---|
committer | Lee Jarvis <leejarvis@fastmail.com> | 2020-07-10 08:36:54 +0100 |
commit | e5615fbdd7c4cd07e8fb0c1109fc6da56981829f (patch) | |
tree | 36f5e303143b1fe739a490cc5df0ddc75a9790c9 /lib/slop.rb | |
parent | 53e5d15c0493f8eaa31ea9d3a0d785dc9bb0cbc1 (diff) | |
download | slop-e5615fbdd7c4cd07e8fb0c1109fc6da56981829f.tar.gz |
Fix bug with separators around `help: false` opts
The separators rely on the indexes of the options before/after them, but
we ignore `help: false` options when building the help string, so all
of the positions are messed up.
This change avoids ignoring those options during the iteration, and
instead just doesn't append the option help to the string.
Fixes #253
Diffstat (limited to 'lib/slop.rb')
0 files changed, 0 insertions, 0 deletions