[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: wget2 | help for cache file location is wrong (#566)
From: |
Darshit Shah |
Subject: |
Re: wget2 | help for cache file location is wrong (#566) |
Date: |
Wed, 27 Oct 2021 15:41:52 +0200 |
User-agent: |
Cyrus-JMAP/3.5.0-alpha0-1369-gd055fb5e7c-fm-20211018.002-gd055fb5e |
The help output is incorrect in this case. The file should always be placed at
`$XDG_DATA_HOME/wget/wget-hsts`.
Since if the envurobembt variable is not set, the default is ~/.local/share,
Wget2 does the right thing storing it where it does.
We should change the help output to reflect this.
On Wed, Oct 27, 2021, at 14:23, Sandro (@SuperSandro2000) via Public discussion
list for GNU Wget development wrote:
> Sandro created an issue: https://gitlab.com/gnuwget/wget2/-/issues/566
>
>
>
> According to the help
>
> ```
> --hsts-file Set file for HSTS caching. (default: ~/.wget-hsts)
> ```
>
> the hsts file should be located in ``~/.wget-hsts`` but actually it is
> in ``~/.local/share/wget/.wget-hsts``. I find this very confusing. Also
> with `XDG_DATA_HOME` you can't point it to ``~/.wget-hsts`` because it
> always appends wget.
>
> --
> Reply to this email directly or view it on GitLab:
> https://gitlab.com/gnuwget/wget2/-/issues/566
> You're receiving this email because of your account on gitlab.com.