Kevin, could be a misunderstanding?
My original question is about
dnsmasq --help
I don't need to discover how dnsmasq is built.
So I don't need to parse
dnsmasq -v
Let talk about end users.
Example, I disabled dhcp.
I expect for the users running
dnsmasq --help
they don't see any help about dhcp features.
However, thank you for your suggestion.
It suggests to me to check with dnsmasq 2.80.
Best regards, Massimo
________________________________
Da: SALA MASSIMO
Inviato: giovedì 13 giugno 2019 12:04:57
A: Kevin Darbyshire-Bryant
Cc: [email protected]
Oggetto: Re: [Dnsmasq-discuss] dnsmasq compilation and dependencies:
compilation macros and help
Hi Kevin
Massimo wrote:
A quick glance at the source code: it seem to me the help arguments aren't
conditioned by the compilation macros.
Kevin wrote:
... we look (& parse) the output of ‘dnsmasq -v’ at run-time to determine what
build-time options have been selected.
Mmh we are saying different behaviours.
Please Kevin
* can you write one or two options you use in compilation and exactly what text
do you search in the output of "dnsmasq -v" ?
* which version of dnsmasq?
I will compile dnsmasq 2.80, check again and post here my findings.
Best regards, Massimo
[ATS logo]
Le informazioni contenute in questo messaggio e nei suoi allegati sono ad
esclusivo beneficio del corretto destinatario e sono da considerarsi
confidenziali e riservate. Qualora abbiate ricevuto il messaggio per errore,
siete pregati di darne immediata notizia al mittente e di provvedere alla sua
cancellazione. La rivelazione del contenuto di corrispondenza destinata ad
altri e ricevuta per errore è perseguibile penalmente e può costituire un
trattamento illecito di dati personali.
This e-mail and any attachment is confidential and only for use of the intended
recipient. If you are not the intended recipient, you are hereby notified that
any disclosure of this communication is strictly prohibited. If you have
received this communication in error, please notify the sender, and then delete
this message from your system.
Prima di stampare, pensa all’ambiente.
_______________________________________________
Dnsmasq-discuss mailing list
[email protected]
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss