https://bugs.ruby-lang.org/
https://bugs.ruby-lang.org/favicon.ico?1711330511
2010-12-06T22:57:05Z
Ruby Issue Tracking System
Ruby master - Bug #4124: optparse: needless argument: --help=zshcomplete=COMMAND
https://bugs.ruby-lang.org/issues/4124?journal_id=14540
2010-12-06T22:57:05Z
nobu (Nobuyoshi Nakada)
nobu@ruby-lang.org
<ul><li><strong>Status</strong> changed from <i>Open</i> to <i>Closed</i></li><li><strong>% Done</strong> changed from <i>0</i> to <i>100</i></li></ul><p>=begin<br>
This issue was solved with changeset r30098.<br>
Kazuhiro, thank you for reporting this issue.<br>
Your contribution to Ruby is greatly appreciated.<br>
May Ruby be with you.</p>
<p>=end</p>
Ruby master - Bug #4124: optparse: needless argument: --help=zshcomplete=COMMAND
https://bugs.ruby-lang.org/issues/4124?journal_id=14549
2010-12-07T10:28:42Z
znz (Kazuhiro NISHIYAMA)
<ul><li><strong>Status</strong> changed from <i>Closed</i> to <i>Assigned</i></li></ul><p>=begin<br>
opttest.rb の変更で閉じるということは rspec などのようにすでに独自の --help があるものは非対応のままということでしょうか?</p>
<p>% ruby-trunk -v<br>
ruby 1.9.3dev (2010-12-07 trunk 30107) [i686-linux]<br>
% generate-complete-function/ruby/optparse rspec-trunk<br>
/home/kazu/opt/ruby-trunk/lib/ruby/gems/1.9.1/gems/rspec-core-2.2.1/lib/rspec/core/option_parser.rb:18:in <code>parse!': needless argument: --help=zshcomplete=rspec-trunk (OptionParser::NeedlessArgument) from /home/kazu/opt/ruby-trunk/lib/ruby/gems/1.9.1/gems/rspec-core-2.2.1/lib/rspec/core/option_parser.rb:4:in </code>parse!'<br>
from /home/kazu/opt/ruby-trunk/lib/ruby/gems/1.9.1/gems/rspec-core-2.2.1/lib/rspec/core/configuration_options.rb:65:in <code>parse_command_line_options' from /home/kazu/opt/ruby-trunk/lib/ruby/gems/1.9.1/gems/rspec-core-2.2.1/lib/rspec/core/configuration_options.rb:47:in </code>parse_options'<br>
from /home/kazu/opt/ruby-trunk/lib/ruby/gems/1.9.1/gems/rspec-core-2.2.1/lib/rspec/core/runner.rb:41:in <code>run' from /home/kazu/opt/ruby-trunk/lib/ruby/gems/1.9.1/gems/rspec-core-2.2.1/lib/rspec/core/runner.rb:10:in </code>block in autorun'</p>
<p>=end</p>
Ruby master - Bug #4124: optparse: needless argument: --help=zshcomplete=COMMAND
https://bugs.ruby-lang.org/issues/4124?journal_id=14550
2010-12-07T12:02:36Z
nobu (Nobuyoshi Nakada)
nobu@ruby-lang.org
<ul><li><strong>Status</strong> changed from <i>Assigned</i> to <i>Closed</i></li></ul><p>=begin<br>
どうしようもないと思うのですが、何かアイデアがあれば。<br>
=end</p>
Ruby master - Bug #4124: optparse: needless argument: --help=zshcomplete=COMMAND
https://bugs.ruby-lang.org/issues/4124?journal_id=14552
2010-12-07T12:29:03Z
znz (Kazuhiro NISHIYAMA)
<ul></ul><p>=begin<br>
--help ではなく <a href="http://www.rubyist.net/~rubikitch/archive/zshcomplete.txt" class="external">http://www.rubyist.net/~rubikitch/archive/zshcomplete.txt</a> のように --zshcomplete (と --bashcomplete) にするというのはどうでしょうか?<br>
=end</p>