mirror of
https://github.com/curl/curl.git
synced 2025-01-30 14:22:33 +08:00
ef305de95c
The keyword specifies how option works when specified multiple times: - single: the last provided value replaces the earlier ones - append: it supports being provided multiple times - boolean: on/off values - mutex: flag-like option that disable anoter flag The 'gen.pl' script then outputs the proper and unified language for each option's multi-use behavior in the generated man page. The multi: header is requires in each .d file and will cause build error if missing or set to an unknown value. Closes #9759
31 lines
1.1 KiB
Makefile
31 lines
1.1 KiB
Makefile
c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
|
|
SPDX-License-Identifier: curl
|
|
Long: list-only
|
|
Short: l
|
|
Protocols: FTP POP3
|
|
Help: List only mode
|
|
Added: 4.0
|
|
Category: ftp pop3
|
|
Example: --list-only ftp://example.com/dir/
|
|
See-also: quote request
|
|
Multi: boolean
|
|
---
|
|
(FTP)
|
|
When listing an FTP directory, this switch forces a name-only view. This is
|
|
especially useful if the user wants to machine-parse the contents of an FTP
|
|
directory since the normal directory view does not use a standard look or
|
|
format. When used like this, the option causes an NLST command to be sent to
|
|
the server instead of LIST.
|
|
|
|
Note: Some FTP servers list only files in their response to NLST; they do not
|
|
include sub-directories and symbolic links.
|
|
|
|
(POP3)
|
|
When retrieving a specific email from POP3, this switch forces a LIST command
|
|
to be performed instead of RETR. This is particularly useful if the user wants
|
|
to see if a specific message-id exists on the server and what size it is.
|
|
|
|
Note: When combined with --request, this option can be used to send a UIDL
|
|
command instead, so the user may use the email's unique identifier rather than
|
|
its message-id to make the request.
|