aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-07-21 04:36:57 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-07-21 04:36:57 +0000
commitec1d232f100d9cacaaa588507ff9b657b363bd29 (patch)
treea046ac718ce13b14a345c67694ed9b09593612a3 /lib
parent65273e90410c3d2f304f7abcf9b77c7f771dfde0 (diff)
downloadruby-ec1d232f100d9cacaaa588507ff9b657b363bd29.tar.gz
fix typo in OptionParser#complete docs [ci skip]
* lib/optparse.rb (complete): [DOC] fix typo. [Fix GH-973] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51308 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r--lib/optparse.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/optparse.rb b/lib/optparse.rb
index d5e367ea50..e2cd964351 100644
--- a/lib/optparse.rb
+++ b/lib/optparse.rb
@@ -1711,7 +1711,7 @@ XXX
# Completes shortened long style option switch and returns pair of
# canonical switch and switch descriptor OptionParser::Switch.
#
- # +id+:: Searching table.
+ # +typ+:: Searching table.
# +opt+:: Searching key.
# +icase+:: Search case insensitive if true.
# +pat+:: Optional pattern for completion.