mirror of
https://github.com/curl/curl.git
synced 2024-12-09 06:30:06 +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
25 lines
956 B
Makefile
25 lines
956 B
Makefile
c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
|
|
SPDX-License-Identifier: curl
|
|
Long: time-cond
|
|
Short: z
|
|
Arg: <time>
|
|
Help: Transfer based on a time condition
|
|
Protocols: HTTP FTP
|
|
Category: http ftp
|
|
Example: -z "Wed 01 Sep 2021 12:18:00" $URL
|
|
Example: -z "-Wed 01 Sep 2021 12:18:00" $URL
|
|
Example: -z file $URL
|
|
Added: 5.8
|
|
See-also: etag-compare remote-time
|
|
Multi: single
|
|
---
|
|
Request a file that has been modified later than the given time and date, or
|
|
one that has been modified before that time. The <date expression> can be all
|
|
sorts of date strings or if it does not match any internal ones, it is taken as
|
|
a filename and tries to get the modification date (mtime) from <file>
|
|
instead. See the *curl_getdate(3)* man pages for date expression details.
|
|
|
|
Start the date expression with a dash (-) to make it request for a document
|
|
that is older than the given date/time, default is a document that is newer
|
|
than the specified date/time.
|