1
0
Fork 0
mirror of https://git.code.sf.net/p/archivemail/code synced 2025-01-03 05:34:58 +00:00

Expand tilde in argument of long option --output-dir, the shell doesn't.

This commit is contained in:
Nikolaus Schulz 2006-11-14 22:20:37 +00:00
parent ef97390118
commit 8abd70093f

View file

@ -230,7 +230,7 @@ class Options:
archive_by = "days"
self.days_old_max = string.atoi(a)
if o in ('-o', '--output-dir'):
self.output_dir = a
self.output_dir = os.path.expanduser(a)
if o in ('-P', '--pwfile'):
self.pwfile = a
if o in ('-F', '--filter-append'):