From: goligautham@... Date: 2018-04-22T05:53:44+00:00 Subject: [ruby-core:86649] [Ruby trunk Misc#14692] Question: Ruby stdlib's Option Parser Issue #14692 has been updated by xz0r (xz0r xz0r). nobu (Nobuyoshi Nakada) wrote: > Currently, it is not able. > A possible workaround is to define an option which raise `OptionParser::InvalidOption`. Can you please show me an example code on how to achieve this ? ---------------------------------------- Misc #14692: Question: Ruby stdlib's Option Parser https://bugs.ruby-lang.org/issues/14692#change-71606 * Author: xz0r (xz0r xz0r) * Status: Open * Priority: Normal * Assignee: nobu (Nobuyoshi Nakada) ---------------------------------------- Hi, The documentation of OptionParser says for further I can ask questions here. Is there way to disable command/option completion ? I don't want a short "-f" option defined automatically if I declare "--file-name" , I have searched the internet and couldn't find a solution. -- https://bugs.ruby-lang.org/ Unsubscribe: