Correct --dhcp-hosts help example.

This commit is contained in:
David Rose 2024-07-07 21:30:41 -05:00
parent fd381836e5
commit 70c9f8c356

View File

@ -65,9 +65,9 @@ usage() {
echo " --dhcp-dns <IP1[,IP2]> Set DNS returned by DHCP" echo " --dhcp-dns <IP1[,IP2]> Set DNS returned by DHCP"
echo " --dhcp-hosts <H1[,H2]> Add list of dnsmasq.conf 'dhcp-host=' values" 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 " 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 " Othwise, the following syntax would work --dhcp-hosts \"host1,192.168.12.2 host2,192.168.12.3\""
echo " See https://github.com/imp/dnsmasq/blob/master/dnsmasq.conf.example for other" echo " See https://github.com/imp/dnsmasq/blob/770bce967cfc9967273d0acfb3ea018fb7b17522/dnsmasq.conf.example#L238"
echo " valid dnsmasq dhcp-host parameters." echo " for other valid dnsmasq dhcp-host parameters."
echo " --daemon Run create_ap in the background" echo " --daemon Run create_ap in the background"
echo " --pidfile <pidfile> Save daemon PID to file" echo " --pidfile <pidfile> Save daemon PID to file"
echo " --logfile <logfile> Save daemon messages to file" echo " --logfile <logfile> Save daemon messages to file"