You've already forked element-web
mirror of
https://github.com/element-hq/element-web.git
synced 2025-11-26 21:23:26 +03:00
Fix default for --include arg
nargs options are arrays and we assume it's an array later, so it would iterate over each char of the string if left as the default
This commit is contained in:
@@ -166,7 +166,7 @@ if __name__ == "__main__":
|
|||||||
)
|
)
|
||||||
)
|
)
|
||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
"--include", nargs='*', default='./config*.json', help=(
|
"--include", nargs='*', default=['./config*.json'], help=(
|
||||||
"Symlink these files into the root of the deployed tarball. \
|
"Symlink these files into the root of the deployed tarball. \
|
||||||
Useful for config files and home pages. Supports glob syntax. \
|
Useful for config files and home pages. Supports glob syntax. \
|
||||||
(Default: '%(default)s')"
|
(Default: '%(default)s')"
|
||||||
|
|||||||
Reference in New Issue
Block a user