summaryrefslogtreecommitdiff
path: root/lib/parsearg.rb
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-07-29 06:14:10 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-07-29 06:14:10 +0000
commit89dbf99bacac40fa17045c8322f20fc4c9c8d070 (patch)
treec7c2046d45ef6226d94a7ef28e91942efed2408f /lib/parsearg.rb
parent448610abec3558780d541606261a090d279e26be (diff)
* numeric.c (num_to_int): default to_int implementaion for every
numeric class. * re.c (rb_reg_quote): initial part of the string was never copied to the quoted string. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2662 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/parsearg.rb')
-rw-r--r--lib/parsearg.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/parsearg.rb b/lib/parsearg.rb
index b9f41d5e5f2..d5f3c9638de 100644
--- a/lib/parsearg.rb
+++ b/lib/parsearg.rb
@@ -73,7 +73,7 @@ def parseArgs(argc, nopt, single_opts, *opts)
end
rescue
print "Format Error!! : \"" + nopt + "\"\t[parseArgs]\n"
- exit! -1
+ exit!(-1)
end
end
if ARGV.length < argc