summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2019-09-07 02:47:21 (GMT)
committerNobuyoshi Nakada <nobu@ruby-lang.org>2019-09-07 02:47:45 (GMT)
commit59e29389a8c3501e71444fed2c10ba6821e63625 (patch)
tree4e87346f8d581389f79d8c2acbd9dd9748f95e6d
parent146677a1e76fd33d86894d0430ea137dbc63579a (diff)
Fixed wrong method at 71f7b0421ac
-rwxr-xr-xtool/file2lastrev.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/file2lastrev.rb b/tool/file2lastrev.rb
index 9089b7f..2721d4a 100755
--- a/tool/file2lastrev.rb
+++ b/tool/file2lastrev.rb
@@ -31,7 +31,7 @@ OptionParser.new {|opts|
VCS.detect(path, vcs_options, opts.new)
rescue VCS::NotFoundError => e
abort "#{File.basename(Program)}: #{e.message}" unless @suppress_not_found
- opts.pop
+ opts.remove
end
end
opts.new