]> git.ipfire.org Git - thirdparty/curl.git/commit
docs: make the documentation for --etag-save match the program behaviour
authorMax Zettlmeißl <max@zettlmeissl.de>
Sun, 18 Jul 2021 08:42:54 +0000 (10:42 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Sun, 18 Jul 2021 16:24:05 +0000 (18:24 +0200)
commiteaab3f084af10b79d4ec1fc50db2f2dcffedc4ea
treea0f462846d72c35d8a49309d628c2e92ff823e97
parent069dd3d2717071d2f6a1fa903204cbdeb89392fa
docs: make the documentation for --etag-save match the program behaviour

When using curl with the option `--etag-save` I expected it to save the
ETag without its surrounding quotes, as stated by the documentation in
the repository and by the generated man pages.

My first endeavour was to fix the program, but while investigating the
history of the relevant parts, I discovered that curl once saved the
ETag without the quotes.  This was undone by Daniel Stenberg in commit
`98c94596f5928840177b6bd3c7b0f0dd03a431af`, therefore I decided that in
this case the documentation should be adjusted to match the behaviour of
curl.

The changed save behaviour also made parts of the `--etag-compare`
documentation wrong or superfluous, so I adjusted those accordingly.

Closes #7429
docs/cmdline-opts/etag-compare.d
docs/cmdline-opts/etag-save.d