curl/tests/data/test1707
Daniel Stenberg 9a0cf56471
curl: --help [option] displays documentation for given cmdline option
Since the documentation text blob might be gzipped, it needs to search
for what to output in a streaming manner. It then first searches for
"\nALL OPTIONS".

Then, it looks for the start to display at "\n    -[option]" and stops
again at "\n    -". Except for the last option in the man page, which
ends at "\nFILES" - the subtitle for the section following all options
in the manpage.

Test 1707 to 1710 verify

Closes #13997
2024-08-04 16:06:17 +02:00

28 lines
324 B
Plaintext

<testcase>
<info>
<keywords>
curl
</keywords>
</info>
#
# Client-side
<client>
<features>
manual
</features>
<server>
none
</server>
<name>
Verify curl -h --insecure
</name>
<command type="perl">
%SRCDIR/test1707.pl %CURL --insecure %LOGDIR/help%TESTNUMBER ../docs/cmdline-opts/curl.txt
</command>
</client>
</testcase>