added --dhcp-hosts option help

This commit is contained in:
David Rose 2024-06-12 21:22:30 -05:00
parent bfe7ca6f4b
commit 2a7739261a

View File

@ -63,6 +63,11 @@ usage() {
echo " back to managed"
echo " --mac <MAC> Set MAC address"
echo " --dhcp-dns <IP1[,IP2]> Set DNS returned by DHCP"
echo " --dhcp-hosts <H1[,H2]> Add list of dnsmasq.conf 'dhcp-host=' values"
echo " If ETC_HOSTS=1, it will use the ip addresses for the named hosts in that /etc/hosts."
echo " Othwise, the following syntax would work --dhcp-hosts \"192.168.12.2,foo 192.168.12.3,bar\""
echo " See https://github.com/imp/dnsmasq/blob/master/dnsmasq.conf.example for other"
echo " valid dnsmasq dhcp-host parameters."
echo " --daemon Run create_ap in the background"
echo " --pidfile <pidfile> Save daemon PID to file"
echo " --logfile <logfile> Save daemon messages to file"