Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#77386 - [dnscrypt-proxy] --config typo

Attached to Project: Community Packages
Opened by whoami (whoami) - Saturday, 04 February 2023, 16:02 GMT
Last edited by Toolybird (Toolybird) - Thursday, 02 March 2023, 06:07 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
type is here -> `ExecStart=/usr/bin/dnscrypt-proxy --config /etc/dnscrypt-proxy/dnscrypt-proxy.toml`

should be single dash
`ExecStart=/usr/bin/dnscrypt-proxy -config /etc/dnscrypt-proxy/dnscrypt-proxy.toml`

Additional info:
any pkg versions
* package version(s)
* config and/or log files etc.
* link to upstream bug report, if any

Steps to reproduce:
This task depends upon

Closed by  Toolybird (Toolybird)
Thursday, 02 March 2023, 06:07 GMT
Reason for closing:  Not a bug
Additional comments about closing:  See comments
Comment by Toolybird (Toolybird) - Monday, 06 February 2023, 06:29 GMT
Hmm, it's been like that for 3 years. Pls also see [1]. Are you sure?

[1] https://github.com/DNSCrypt/dnscrypt-proxy/wiki/systemd
Comment by whoami (whoami) - Thursday, 02 March 2023, 04:59 GMT
in help message:

-config string
Path to the configuration file (default "dnscrypt-proxy.toml")
Comment by loqs (loqs) - Thursday, 02 March 2023, 05:20 GMT
dnscrypt-proxy uses flag [1] for command-line parsing. flag does not differentiate between one and two dashes they are equivalent.

[1] https://pkg.go.dev/flag
Comment by whoami (whoami) - Thursday, 02 March 2023, 05:32 GMT
this creates confusion because it does not correspond to what is written in the help message
Comment by Toolybird (Toolybird) - Thursday, 02 March 2023, 06:07 GMT
Thanks for the clarification @loqs. Confusion? Maybe. But it's not a typo.

Loading...