process_build_outputs.py: Fix --include-* arguments

This commit is contained in:
Eloston
2018-03-27 20:19:29 +00:00
parent fd7bf84694
commit ee34616277
@@ -152,11 +152,11 @@ def main(arg_list=None):
' by the file extension. Currently supported types: .zip and'
' .tar.{gz,bz2,xz}'))
parser_archive.add_argument(
'--include-file', type=Path, metavar='PATH', dest='append', default=tuple(),
'--include-file', type=Path, metavar='PATH', action='append', default=tuple(),
help=('File to include in the root of the archive. Specify'
' multiple times to include multiple files.'))
parser_archive.add_argument(
'--include-dir', type=Path, metavar='PATH', dest='append', default=tuple(),
'--include-dir', type=Path, metavar='PATH', action='append', default=tuple(),
help=('Contents of specified directory to include at the root of the'
' archive. For zip files, these contents must only be regular'
' files. Specify multiple times to include multiple dirs.'))