diff options
author | Sutou Kouhei <kou@clear-code.com> | 2019-06-24 19:01:13 +0900 |
---|---|---|
committer | Sutou Kouhei <kou@clear-code.com> | 2019-06-29 06:18:09 +0900 |
commit | c026ee99247c33130addc01d1399e71b14879f38 (patch) | |
tree | b50c90fbcefadd3d2e3b73792eba68ac37bd9617 /CHANGELOG.md | |
parent | aa233ababf00cd32f46a278ca030d5c40281e7c1 (diff) | |
download | slop-c026ee99247c33130addc01d1399e71b14879f38.tar.gz |
Fix a bug that flag value is processed as flag
If flag value starts with "-", unknown option error is raised.
The current flag value check is "orig_arg == opt.value.to_s". There
are some objects such as Regexp and Time that input value and its #to_s
aren't same.
Diffstat (limited to 'CHANGELOG.md')
0 files changed, 0 insertions, 0 deletions