From: "felipec (Felipe Contreras)" Date: 2013-05-29T20:39:14+09:00 Subject: [ruby-core:55195] [ruby-trunk - Feature #8460][Open] PATCH: optparse: add keep_unknown option Issue #8460 has been reported by felipec (Felipe Contreras). ---------------------------------------- Feature #8460: PATCH: optparse: add keep_unknown option https://bugs.ruby-lang.org/issues/8460 Author: felipec (Felipe Contreras) Status: Open Priority: Normal Assignee: Category: lib Target version: 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-options-to-be-processed-later-in-a-ruby-program -- http://bugs.ruby-lang.org/