Actions
Bug #14629
closedOption Parser bug
Status:
Rejected
Assignee:
-
Target version:
-
ruby -v:
ruby 2.5.0p0 (2017-12-25 revision 61468) [x86_64-darwin16]
Description
Reproduce process:
Case 1:
$ruby testarg.rb --fail-if-changed
"fail if change arg provided"
Case 2:
$ruby testarg.rb --fail-if-change
"fail if change arg provided"
Case 3:
$ruby testarg.rb --fail-if-chang
"fail if change arg provided"
Expected result:
Only case 1 is valid because only one argument is defined "--fail-if-changed", case 2 and 3 should return error but they parse arguments wrongly,
Files
Actions
Like0
Like0Like0Like0Like0Like0