summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-12-02 12:50:19 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-12-02 12:50:19 +0000
commita7f1bcb2d65e4953c993d7ba1bc626bdd6bfe7ae (patch)
tree97cfdd9098a8c38ae37fd6b0f939e3c60791386d /lib
parenta96a594f9978b28d2d374f4a0fc15f5a2224df9b (diff)
optarse.rb: mention multiple descriptions [ci skip]
[ruby-list:50718] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66134 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r--lib/optparse.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/optparse.rb b/lib/optparse.rb
index d3b504a413..c6e652971e 100644
--- a/lib/optparse.rb
+++ b/lib/optparse.rb
@@ -1352,6 +1352,8 @@ XXX
# [Description:]
# Description string for the option.
# "Run verbosely"
+ # If you give multiple description strings, each string will be printed
+ # line by line.
#
# [Handler:]
# Handler for the parsed argument value. Either give a block or pass a