summaryrefslogtreecommitdiff
path: root/lib/parsearg.rb
diff options
context:
space:
mode:
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 9c67aca43e..cab2dba789 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()