aboutsummaryrefslogtreecommitdiff
path: root/ag
diff options
context:
space:
mode:
Diffstat (limited to 'ag')
-rwxr-xr-xag2
1 files changed, 1 insertions, 1 deletions
diff --git a/ag b/ag
index ffe714b..6c5dde1 100755
--- a/ag
+++ b/ag
@@ -55,7 +55,7 @@ op = OptionParser.new do |opts|
opts.on('--delete-index', 'Delete index. Needs --list') do
abort 'Can only select one action' if $options.action != nil
- $options.action = :do_index
+ $options.action = :do_delete_index
$options.need_argument = false
end