1
0
Fork 0
mirror of https://git.code.sf.net/p/archivemail/code synced 2025-03-12 07:42:50 +00:00

Shortened new option name "--dont-mangle-from" to "--dont-mangle".

This commit is contained in:
Nikolaus Schulz 2006-10-30 19:34:39 +00:00
parent 697c22daac
commit a221f62f52
3 changed files with 7 additions and 7 deletions

View file

@ -3,7 +3,7 @@
.\" <http://shell.ipoline.com/~elmert/comp/docbook2X/> .\" <http://shell.ipoline.com/~elmert/comp/docbook2X/>
.\" Please send any bug reports, improvements, comments, patches, .\" Please send any bug reports, improvements, comments, patches,
.\" etc. to Steve Cheng <steve@ggi-project.org>. .\" etc. to Steve Cheng <steve@ggi-project.org>.
.TH "ARCHIVEMAIL" "1" "19 October 2006" "SP" "" .TH "ARCHIVEMAIL" "1" "30 October 2006" "SP" ""
.SH NAME .SH NAME
archivemail \- archive and compress your old email archivemail \- archive and compress your old email
@ -177,7 +177,7 @@ message has been read. \fBarchivemail\fR determines if a
been read by looking at the filename. If the filename contains an 'S' after been read by looking at the filename. If the filename contains an 'S' after
\fI:2,\fR then it assumes the message has been read. \fI:2,\fR then it assumes the message has been read.
.TP .TP
\fB --dont-mangle-from\fR \fB --dont-mangle\fR
Do not mangle lines in message bodies beginning with "From ". When archiving Do not mangle lines in message bodies beginning with "From ". When archiving
a message from a mailbox not in \fBmbox\fR format, by default a message from a mailbox not in \fBmbox\fR format, by default
\fBarchivemail\fR mangles such lines by prepending a '>' to them, since mail \fBarchivemail\fR mangles such lines by prepending a '>' to them, since mail

View file

@ -195,7 +195,7 @@ class Options:
opts, args = getopt.getopt(args, '?D:S:Vd:hno:F:P:qs:uv', opts, args = getopt.getopt(args, '?D:S:Vd:hno:F:P:qs:uv',
["date=", "days=", "delete", "dry-run", "help", ["date=", "days=", "delete", "dry-run", "help",
"include-flagged", "no-compress", "output-dir=", "include-flagged", "no-compress", "output-dir=",
"filter-append=", "pwfile=", "dont-mangle-from", "filter-append=", "pwfile=", "dont-mangle",
"preserve-unread", "quiet", "size=", "suffix=", "preserve-unread", "quiet", "size=", "suffix=",
"verbose", "version", "warn-duplicate"]) "verbose", "version", "warn-duplicate"])
except getopt.error, msg: except getopt.error, msg:
@ -241,7 +241,7 @@ class Options:
self.min_size = string.atoi(a) self.min_size = string.atoi(a)
if o in ('-u', '--preserve-unread'): if o in ('-u', '--preserve-unread'):
self.preserve_unread = 1 self.preserve_unread = 1
if o == '--dont-mangle-from': if o == '--dont-mangle':
self.mangle_from = 0 self.mangle_from = 0
if o in ('-v', '--verbose'): if o in ('-v', '--verbose'):
self.verbose = 1 self.verbose = 1
@ -653,7 +653,7 @@ Options are as follows:
-S, --size=NUM only archive messages NUM bytes or larger -S, --size=NUM only archive messages NUM bytes or larger
-n, --dry-run don't write to anything - just show what would be done -n, --dry-run don't write to anything - just show what would be done
-u, --preserve-unread never archive unread messages -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!) --delete delete rather than archive old mail (use with caution!)
--include-flagged messages flagged important can also be archived --include-flagged messages flagged important can also be archived
--no-compress do not compress archives with gzip --no-compress do not compress archives with gzip

View file

@ -35,7 +35,7 @@
<RefEntry> <RefEntry>
<DocInfo><Date>13 October 2006</Date></DocInfo> <DocInfo><Date>30 October 2006</Date></DocInfo>
<RefMeta> <RefMeta>
<RefEntryTitle>archivemail</RefEntryTitle> <RefEntryTitle>archivemail</RefEntryTitle>
@ -248,7 +248,7 @@ been read by looking at the filename. If the filename contains an 'S' after
<VarListEntry> <VarListEntry>
<Term> <Term>
<Option>--dont-mangle-from</Option> <Option>--dont-mangle</Option>
</Term> </Term>
<ListItem><Para> <ListItem><Para>
Do not mangle lines in message bodies beginning with "From ". When archiving Do not mangle lines in message bodies beginning with "From ". When archiving