curl/docs/cmdline-opts/silent.md
Alb3e3 74b732f637
tool_msgs: make notef() respect --silent
Until 8.17.0 the --silent check lived in voutf(), so it covered every
message type that went through it. 56450ce26f moved that check out to
the callers so that errorf() could honour --show-error, and warnf() and
errorf() got the check back, but notef() did not. Since then "Note:"
messages have been printed even with --silent, as long as tracing was
on.

Reported-by: Jace Laquerre
Fixes #22623
Closes #22625
2026-08-20 22:55:04 +02:00

25 lines
605 B
Markdown

---
c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
SPDX-License-Identifier: curl
Long: silent
Short: s
Help: Silent mode
Category: important verbose
Added: 4.0
Multi: boolean
See-also:
- verbose
- stderr
- no-progress-meter
Example:
- -s $URL
---
# `--silent`
Silent or quiet mode. Do not show progress meter, note messages, warning
messages or error messages. Makes curl mute. It still outputs the data you ask for, potentially
even to the terminal/stdout unless you redirect it.
Use --show-error in addition to this option to disable progress meter but
still show error messages.