From f0611494a67c2018ea3c4e179faaf3c93694837c Mon Sep 17 00:00:00 2001 From: wmorgan Date: Thu, 8 Feb 2007 21:41:46 +0000 Subject: [PATCH] updating help messages git-svn-id: svn://rubyforge.org/var/svn/sup/trunk@309 5c8cc53c-5e98-4d25-b20a-d8db53a31250 --- bin/sup-add | 20 ++++++++++++++++++-- bin/sup-import | 8 ++++---- 2 files changed, 22 insertions(+), 6 deletions(-) diff --git a/bin/sup-add b/bin/sup-add index 4d33641..5cb8f92 100644 --- a/bin/sup-add +++ b/bin/sup-add @@ -16,8 +16,24 @@ Adds a source to the Sup source list. Usage: sup-add [options] + -where + is one or more source URIs or mbox filenames, e.g. -"imaps://my.imapserver.com", or "/var/spool/mail/me". +where + is one or more sources. + +For mbox files on local disk, use the form: + mbox:// +or simply + + +For mbox files on remote machines, use the form: + mbox+ssh:/// + +For IMAP folders, use the form (note no username or password!): + imap:/// # unsecure, "INBOX" folder + imap:/// # unsecure, arbitrary + imaps:/// # secure, "INBOX" folder + imaps:/// # secure, arbitrary folder + +For gmail accounts, use the form (note no username or password!): + gmail:// Options are: EOS diff --git a/bin/sup-import b/bin/sup-import index 69b5b07..68ffd76 100644 --- a/bin/sup-import +++ b/bin/sup-import @@ -32,9 +32,9 @@ Imports messages into the Sup index from one or more sources. Usage: sup-import [options] * -where * is zero or more source URIs or mbox filenames, e.g. -"imaps://my.imapserver.com", or "/var/spool/mail/me". If no sources -are given, imports messages from all sources marked as "usual". +where * is zero or more source URIs or mbox filenames. If no +sources are given, imports messages from all sources marked as +"usual". Options are: EOS @@ -107,7 +107,7 @@ begin m elsif opts[:full_rebuild] || # we're updating everyone; or (opts[:rebuild] && (entry[:source_id].to_i != source.id || entry[:source_info].to_i != offset)) # we're updating just the changed ones - puts "# updating message at #{offset}, source #{entry[:source_id]} => #{source.id}, offset #{entry[:source_info]} => #{offset}, labels: #{m.labels * ' '}" if opts[:verbose] + puts "# updating message at #{offset}, #{m.from.inspect}, #{m.subj.inspect}, source #{entry[:source_id]} => #{source.id}, offset #{entry[:source_info]} => #{offset}, labels: #{m.labels * ' '}" if opts[:verbose] num += 1 m else -- 2.45.2