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
1 changed files with 1 additions and 1 deletions

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'):