diff options
author | Kyle Meyer <kyle@kyleam.com> | 2020-05-09 23:37:47 -0400 |
---|---|---|
committer | Kyle Meyer <kyle@kyleam.com> | 2020-05-10 22:45:29 -0400 |
commit | 8b7617c5aeb720a94f79ccc7201fd5ee042a5635 (patch) | |
tree | 1c1ae7f81bb307189b9e7c34851cdbd288efe1a1 /COPYING | |
parent | 33a7b658e537683d892bc195b463435199595a3a (diff) | |
download | piem-8b7617c5aeb720a94f79ccc7201fd5ee042a5635.tar.gz |
b4: Rework handling of output file naming
When passing a name like "a.mbx" to b4-am's --mbox-name, only the "a"
is retained; b4-am unconditionally appends the ".mbx". Avoid passing
a name with ".mbx" to make it clearer that the caller does not control
the extension.
Reduce the base name to "m" to avoid a message ID ending with ".*"
being treated as an extension, which would require analyzing the
message ID in order to guess what output name b4-am will use.
Finally, name the custom thread mbox with "-piem" rather than
"-thread" (which was chosen to mimic b4-mbox) so it's more obvious who
created the file when later inspecting the directory.
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions