From 0cd3f2a7abd8d21806cf96fd5d71e5a711a81b92 Mon Sep 17 00:00:00 2001 From: "Robin H. Johnson" Date: Mon, 23 Feb 2015 18:18:03 -0800 Subject: Correct action. Signed-off-by: Robin H. Johnson --- ag | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ag') 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 -- cgit v1.2.3-65-gdbad