1
0
mirror of synced 2026-01-23 02:28:13 +00:00

Re-add --no-hosts and --copy-hosts for backwards compatibility and declare them deprecated

This commit is contained in:
Axel Beckert 2010-07-15 18:14:16 +02:00
parent d8e4774bcf
commit e6f57bdebe

View File

@ -1552,6 +1552,9 @@ sub parseCommandLineArguments
# Hosts options
"nohosts", \$CONFIG{ 'nohosts' },
"copyhosts", \$CONFIG{ 'copyhosts' },
# Deprecated legacy options for backwards compatibility
"no-hosts", \$CONFIG{ 'nohosts' },
"copy-hosts", \$CONFIG{ 'copyhosts' },
# Networking options
"dhcp", \$CONFIG{ 'dhcp' },