mirror of
https://github.com/curl/curl.git
synced 2025-03-07 15:27:17 +08:00
gen.pl now insists on C: and SPDX-License-Identifier: fields to be present in all files. Closes #9002
15 lines
515 B
Makefile
15 lines
515 B
Makefile
c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
|
|
SPDX-License-Identifier: curl
|
|
Long: remove-on-error
|
|
Help: Remove output file on errors
|
|
See-also: fail
|
|
Category: curl
|
|
Example: --remove-on-error -o output $URL
|
|
Added: 7.83.0
|
|
---
|
|
When curl returns an error when told to save output in a local file, this
|
|
option removes that saved file before exiting. This prevents curl from
|
|
leaving a partial file in the case of an error during transfer.
|
|
|
|
If the output is not a file, this option has no effect.
|