aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-02-23 18:02:04 -0800
committerRobin H. Johnson <robbat2@gentoo.org>2015-02-23 18:02:04 -0800
commit141a6a0ac540063ff2207f13472aec10141a3a95 (patch)
treed9419fb8e0e5b345547420bd94ff86309d9bcced
parentAbility to turn off the progress bar. (diff)
downloadbackend-141a6a0ac540063ff2207f13472aec10141a3a95.tar.gz
backend-141a6a0ac540063ff2207f13472aec10141a3a95.tar.bz2
backend-141a6a0ac540063ff2207f13472aec10141a3a95.zip
My ruby is rusty.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
-rwxr-xr-xag4
1 files changed, 2 insertions, 2 deletions
diff --git a/ag b/ag
index fa3d181..ea1e91b 100755
--- a/ag
+++ b/ag
@@ -139,7 +139,7 @@ def do_full
messages = $maildir.list(:cur)
opts = {
- :in_processes: Ag::Utils.proc_count,
+ :in_processes => Ag::Utils.proc_count,
}
opts[:progress] = "Importing #{$options.name}" if $options.progress
Parallel.each(messages, opts) do |maildir_message|
@@ -160,7 +160,7 @@ def do_incremental
messages = $maildir.list(:cur)
opts = {
- :in_processes: Ag::Utils.proc_count,
+ :in_processes => Ag::Utils.proc_count,
}
opts[:progress] = "Importing #{$options.name}" if $options.progress
Parallel.each(messages, opts) do |maildir_message|