Expand tilde in argument of long option --output-dir, the shell doesn't.
This commit is contained in:
parent
ef97390118
commit
8abd70093f
|
@ -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'):
|
||||
|
|
Loading…
Reference in New Issue