xref: /curl/docs/cmdline-opts/stderr.md (revision 2abfc759)
1---
2c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, 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