From: nobu@... Date: 2016-03-02T15:24:17+00:00 Subject: [ruby-core:74099] [Ruby trunk Bug#12135][Feedback] OptParse rejects --longopt= with a zero-length argument. Issue #12135 has been updated by Nobuyoshi Nakada. Description updated Status changed from Open to Feedback What is "C's OptParse"? ---------------------------------------- Bug #12135: OptParse rejects --longopt= with a zero-length argument. https://bugs.ruby-lang.org/issues/12135#change-57245 * Author: Tim Baverstock * Status: Feedback * Priority: Normal * Assignee: * ruby -v: 2.1.5 and 2.4.0 * Backport: 2.1: UNKNOWN, 2.2: UNKNOWN, 2.3: UNKNOWN ---------------------------------------- OptParse diverges from C's OptParse by rejecting a zero-length argument given to a long option. C accepts it: ~~~ $ ./a.out --delete= option delete with arg '' ~~~ Ruby fails: ~~~ OptionParser::InvalidArgument: invalid argument: --filters= ~~~ -- https://bugs.ruby-lang.org/ Unsubscribe: