Issue #8460 has been updated by felipec (Felipe Contreras).
File 0001-Add-keep_unknown-option.patch added
File 0002-Move-dash-dash-handling-to-a-case.patch added
File 0003-Properly-keep-dash-dash.patch added
Subject changed from PATCH: optparse: add keep_unknown option to PATCH: optparse: add
`keep_unknown` option
Updated on top of master yet again.
----------------------------------------
Feature #8460: PATCH: optparse: add `keep_unknown` option
https://bugs.ruby-lang.org/issues/8460#change-102608
* Author: felipec (Felipe Contreras)
* Status: Assigned
* Priority: Normal
* Assignee: nobu (Nobuyoshi Nakada)
----------------------------------------
Currently people have to do very convoluted tricks, essentially making
it impossible for optparse to keep unknown options.
The safest and cleanest way is to do it in the code itself.
[1]
http://www.ruby-forum.com/topic/88081
[2]
http://stackoverflow.com/questions/3642331/can-optparse-skip-unknown-option…
---Files--------------------------------
0001-optparse-add-keep_unknown-option.patch (2.98 KB)
0002-optparse-move-dash-dash-handling-to-a-case.patch (1.42 KB)
0003-optparse-properly-keep-dash-dash.patch (1.23 KB)
0001-Add-keep_unknown-option.patch (2.79 KB)
0002-Move-dash-dash-handling-to-a-case.patch (1.28 KB)
0003-Properly-keep-dash-dash.patch (1.1 KB)
--
https://bugs.ruby-lang.org/