[Dnsmasq-discuss] Man page typo
Geert Stappers
stappers at stappers.nl
Wed Dec 7 08:31:56 UTC 2022
On Tue, Dec 06, 2022 at 08:08:11PM -0600, Ruijie Yu via Dnsmasq-discuss wrote:
> Hello,
>
> I noticed that there is a typo in the man page for the example on the
> `--conf-script` option. The example says `--conf-dir="..."` but it
> should be `--conf-script="..."` instead.
Good catch.
> For completeness, I have attached a patch that fixes this single line.
More about that below.
> Also, while on this topic, I noticed that this option is absent in both
> the French and the Spanish man pages, so I suppose these have not been
> up-to-date?
Time will tell when a person that does what is needed, steps forward.
>
>
> RY
>
> diff --git a/man/dnsmasq.8 b/man/dnsmasq.8
> index 2495ed1..df86be7 100644
> --- a/man/dnsmasq.8
> +++ b/man/dnsmasq.8
> @@ -2203,7 +2203,7 @@ therein is updated when dnsmasq receives SIGHUP.
> Execute <file>, and treat what it emits to stdout as the contents of a configuration file.
> If the script exits with a non-zero exit code, dnsmasq treats this as a fatal error.
> The script can be passed arguments, space seperated from the filename and each other so, for instance
> -.B --conf-dir="/etc/dnsmasq-uncompress-ads /share/ads-domains.gz"
> +.B --conf-script="/etc/dnsmasq-uncompress-ads /share/ads-domains.gz"
>
> with /etc/dnsmasq-uncompress-ads containing
>
Consider to do
git stash save
export BRANCH_NAME=a_name_you_chose_for_the_git_branch_about_this
git checkout -b ${BRANCH_NAME}
git stash pop
git diff # shows again what is shown above
# important is to see the wanted change
git add man/dnsmasq.8
git commit
# write commit message, leave editor
git format-patch master
# there is now a 0001-*.patch file
git checkout -
# you are now back in the git branch where you started
Do other good things, keep meanwhile an eye on other follow-up messages
of your email.
When non further follow-up messages happen,
sent the 0001-*.patch to the mailinglist.
Groeten
Geert Stappers
--
Silence is hard to parse
More information about the Dnsmasq-discuss
mailing list