aboutsummaryrefslogtreecommitdiffstats
path: root/archivemail.py
diff options
context:
space:
mode:
authorNikolaus Schulz <microschulz@web.de>2006-10-30 19:34:39 +0000
committerNikolaus Schulz <microschulz@web.de>2006-10-30 19:34:39 +0000
commita221f62f52ddecc1ce634261de9682ec93faeb4e (patch)
tree39c66e850b919051b0bf646f93cda219973e5ea3 /archivemail.py
parent697c22daac5119fb4b9cb3f31a42f3926a97ae65 (diff)
downloadarchivemail-a221f62f52ddecc1ce634261de9682ec93faeb4e.tar.gz
archivemail-a221f62f52ddecc1ce634261de9682ec93faeb4e.tar.bz2
archivemail-a221f62f52ddecc1ce634261de9682ec93faeb4e.zip
Shortened new option name "--dont-mangle-from" to "--dont-mangle".
Diffstat (limited to 'archivemail.py')
-rwxr-xr-xarchivemail.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/archivemail.py b/archivemail.py
index fb7bd8a..ccebc38 100755
--- a/archivemail.py
+++ b/archivemail.py
@@ -195,7 +195,7 @@ class Options:
opts, args = getopt.getopt(args, '?D:S:Vd:hno:F:P:qs:uv',
["date=", "days=", "delete", "dry-run", "help",
"include-flagged", "no-compress", "output-dir=",
- "filter-append=", "pwfile=", "dont-mangle-from",
+ "filter-append=", "pwfile=", "dont-mangle",
"preserve-unread", "quiet", "size=", "suffix=",
"verbose", "version", "warn-duplicate"])
except getopt.error, msg:
@@ -241,7 +241,7 @@ class Options:
self.min_size = string.atoi(a)
if o in ('-u', '--preserve-unread'):
self.preserve_unread = 1
- if o == '--dont-mangle-from':
+ if o == '--dont-mangle':
self.mangle_from = 0
if o in ('-v', '--verbose'):
self.verbose = 1
@@ -653,7 +653,7 @@ Options are as follows:
-S, --size=NUM only archive messages NUM bytes or larger
-n, --dry-run don't write to anything - just show what would be done
-u, --preserve-unread never archive unread messages
- --dont-mangle-from do not mangle From_ in message bodies
+ --dont-mangle do not mangle From_ in message bodies
--delete delete rather than archive old mail (use with caution!)
--include-flagged messages flagged important can also be archived
--no-compress do not compress archives with gzip