xref: /aosp_15_r20/external/curl/docs/cmdline-opts/stderr.md (revision 6236dae45794135f37c4eb022389c904c8b0090d)
1---
2c: Copyright (C) Daniel Stenberg, <[email protected]>, et al.
3SPDX-License-Identifier: curl
4Long: stderr
5Arg: <file>
6Help: Where to redirect stderr
7Category: verbose global
8Added: 6.2
9Multi: single
10Scope: global
11See-also:
12  - verbose
13  - silent
14Example:
15  - --stderr output.txt $URL
16---
17
18# `--stderr`
19
20Redirect all writes to stderr to the specified file instead. If the filename
21is a plain '-', it is instead written to stdout.
22