changed dry_run to dry-run

This commit is contained in:
Yash Tripathi 2021-07-18 21:45:24 +05:30
parent b2476313a7
commit b60e8dfd10
2 changed files with 2 additions and 2 deletions

View File

@ -64,7 +64,7 @@ def initialize_arguments():
config[key] = val
config["script"] = args.script
if args.dry_run is not None:
config["dry_run"] = args.dry_run
config["dry-run"] = args.dry_run
return config

View File

@ -280,7 +280,7 @@ def perform_installation_steps():
config_file.write(user_configuration)
print()
if archinstall.arguments.get('dry_run'):
if archinstall.arguments.get('dry-run'):
exit(0)
if not archinstall.arguments.get('silent'):