aboutsummaryrefslogtreecommitdiffstats
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, 1 insertions, 1 deletions
diff --git a/lib/parsearg.rb b/lib/parsearg.rb
index 9d58be99f6..9c67aca43e 100644
--- a/lib/parsearg.rb
+++ b/lib/parsearg.rb
@@ -10,7 +10,7 @@
#
#
-warn "Warning: parsearg is deprecated after Ruby 1.8.1; use optparse instead"
+warn "Warning:#{caller[0].sub(/:in `.*'\z/, '')}: parsearg is deprecated after Ruby 1.8.1; use optparse instead"
$RCS_ID=%q$Header$