Skip to content

Commit

Permalink
process_build_outputs.py: Fix --include-* arguments
Browse files Browse the repository at this point in the history
Eloston committed Mar 27, 2018

Verified

This commit was signed with the committer’s verified signature. The key has expired.
Eloston Eloston
1 parent fd7bf84 commit ee34616
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions resources/packaging/shared/process_build_outputs.py
Original file line number Diff line number Diff line change
@@ -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.'))

0 comments on commit ee34616

Please sign in to comment.