optparse.rb: fix quote [ci skip]
* lib/optparse.rb (getopts): [DOC] fix missing quote. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55280 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
2cd799b967
commit
89e11e8833
@ -1648,7 +1648,7 @@ XXX
|
||||
#
|
||||
# Wrapper method for getopts.rb.
|
||||
#
|
||||
# params = ARGV.getopts("ab:", "foo", "bar:", "zot:Z;zot option)
|
||||
# params = ARGV.getopts("ab:", "foo", "bar:", "zot:Z;zot option")
|
||||
# # params[:a] = true # -a
|
||||
# # params[:b] = "1" # -b1
|
||||
# # params[:foo] = "1" # --foo
|
||||
|
Loading…
x
Reference in New Issue
Block a user