summaryrefslogtreecommitdiff
path: root/lib/parsearg.rb
diff options
context:
space:
mode:
authordrbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-08-04 18:05:50 +0000
committerdrbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-08-04 18:05:50 +0000
commit52c034aecb365c6cf2a41b8648c3e87fb335fdaf (patch)
tree199813273b1cd9a90b40e3dc797303d0e5f8c67b /lib/parsearg.rb
parent4db2df633cc784c40e21b3df38fe9a6dd1b0ff0b (diff)
Documentation cleanup.
Includes patches by Hugh Sasse: * ping.rb * weakref.rb * mailread.rb git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10668 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/parsearg.rb')
-rw-r--r--lib/parsearg.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/parsearg.rb b/lib/parsearg.rb
index 9c67aca43e9..cab2dba789a 100644
--- a/lib/parsearg.rb
+++ b/lib/parsearg.rb
@@ -57,6 +57,8 @@ def setExpression(ex, opt, op)
return ex
end
+# parseArgs is obsolete. Use OptionParser instead.
+
def parseArgs(argc, nopt, single_opts, *opts)
if (noOptions = getopts(single_opts, *opts)) == nil
printUsageAndExit()