Make --conf-file without filename just inhibit reading the default.

This is now consistent with the behaviour of --resolv-file.
This commit is contained in:
Simon Kelley committed 2026-11-30 17:04:33 +00:00
1 parent cc32bce779
commit 5ec80aa6c8
2 files changed
+15 -18

No files matched your search

+3 -3
View File
@@ -2318,9 +2318,9 @@ Run in a mode where the TFTP server uses ONLY the well-known port (69) for its e
of the TFTP transfer. This allows TFTP to work when there in NAT is the path between client and server. Note that
this is not strictly compliant with the RFCs specifying the TFTP protocol: use at your own risk.
.TP
.B \-C, --conf-file=<file>
Specify a configuration file. The presence of this option stops dnsmasq from reading the default configuration
file (normally /etc/dnsmasq.conf). Multiple files may be specified by repeating the option
.B \-C, --conf-file[=<file>]
Specify a configuration file. The presence of this option (even without a filename) stops dnsmasq from
reading the default configuration file (normally /etc/dnsmasq.conf). Multiple files may be specified by repeating the option
either on the command line or in configuration files. A
filename of "-" causes dnsmasq to read configuration from stdin.
.TP