Ruby OptionParser empty switch “-” behavior

前端 未结 2 916
自闭症患者
自闭症患者 2021-01-07 14:41

EDITED:

I\'ve wrote code that uses OptionParser to handle command line input gracefully. I am facing two major hits.

  1. Passing an empty switches \'-\' do
2条回答
提交回复
热议问题