commit: 0cd3f2a7abd8d21806cf96fd5d71e5a711a81b92 Author: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org> AuthorDate: Tue Feb 24 02:18:03 2015 +0000 Commit: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org> CommitDate: Tue Feb 24 02:18:03 2015 +0000 URL: http://sources.gentoo.org/gitweb/?p=proj/ag.git;a=commit;h=0cd3f2a7
Correct action. Signed-off-by: Robin H. Johnson <robbat2 <AT> gentoo.org> --- ag | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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