dry run for all common

This commit is contained in:
Ciro Santilli 六四事件 法轮功
2018-10-18 00:00:00 +00:00
parent 23a9d767ba
commit cb3d8929ba
4 changed files with 16 additions and 7 deletions

4
build
View File

@@ -153,9 +153,7 @@ passing this option multiple times. Default: [{}]
'''.format(common.default_arch))
for component in component_names:
add_bool_arg(parser, component)
parser.add_argument('--dry-run', default=False, action='store_true', help='''\
Print the commands that would be run, but don't run them.
''')
common.add_dry_run_argument(parser)
args = parser.parse_args()
# Decide archs.