aboutsummaryrefslogtreecommitdiff
path: root/ag
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-02-23 18:18:03 -0800
committerRobin H. Johnson <robbat2@gentoo.org>2015-02-23 18:18:03 -0800
commit0cd3f2a7abd8d21806cf96fd5d71e5a711a81b92 (patch)
treeda267d333b1de72152062bc618609e7319f0d528 /ag
parentImprove delete code paths. (diff)
downloadbackend-0cd3f2a7abd8d21806cf96fd5d71e5a711a81b92.tar.gz
backend-0cd3f2a7abd8d21806cf96fd5d71e5a711a81b92.tar.bz2
backend-0cd3f2a7abd8d21806cf96fd5d71e5a711a81b92.zip
Correct action.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
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