summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2019-10-08 23:05:35 +0200
committerDaniel Stenberg <daniel@haxx.se>2019-10-08 23:06:36 +0200
commitad17b4861ce47c62178a929c6987d0ae708b9155 (patch)
tree01ad874f1d3f3dff32441fdffff09726d929f271
parent93373a960c3bb45def7640bc775743dd8bec71c7 (diff)
downloadcurl-ad17b4861ce47c62178a929c6987d0ae708b9155.tar.gz
docs: document it as --no-progress-meter instead of the reverse
Follow-up to 93373a960c3bb4 Reported-by: infinnovation-dev on github Fixes #4474
-rw-r--r--docs/cmdline-opts/no-progress-meter.d10
-rw-r--r--docs/cmdline-opts/progress-meter.d8
-rw-r--r--src/tool_help.c4
3 files changed, 12 insertions, 10 deletions
diff --git a/docs/cmdline-opts/no-progress-meter.d b/docs/cmdline-opts/no-progress-meter.d
new file mode 100644
index 000000000..aff0717d3
--- /dev/null
+++ b/docs/cmdline-opts/no-progress-meter.d
@@ -0,0 +1,10 @@
+Long: no-progress-meter
+Help: Do not show the progress meter
+See-also: verbose silent
+Added: 7.67.0
+---
+Option to switch off the progress meter output without muting or otherwise
+affecting warning and informational messages like --silent does.
+
+Note that this is the negated option name documented. You can thus use
+--progress-meter to enable the progress meter again.
diff --git a/docs/cmdline-opts/progress-meter.d b/docs/cmdline-opts/progress-meter.d
deleted file mode 100644
index 3befb0ca0..000000000
--- a/docs/cmdline-opts/progress-meter.d
+++ /dev/null
@@ -1,8 +0,0 @@
-Long: progress-meter
-Help: Show the progress meter
-See-also: verbose silent
-Added: 7.67.0
----
-Option to only switch the progress meter output on or off (with
---no-progress-meter) without muting or otherwise affecting warning and
-informational messages like --silent does.
diff --git a/src/tool_help.c b/src/tool_help.c
index cc7acb017..022956676 100644
--- a/src/tool_help.c
+++ b/src/tool_help.c
@@ -263,6 +263,8 @@ static const struct helptxt helptext[] = {
"Disable TCP keepalive on the connection"},
{" --no-npn",
"Disable the NPN TLS extension"},
+ {" --no-progress-meter",
+ "Do not show the progress meter"},
{" --no-sessionid",
"Disable SSL session-ID reusing"},
{" --noproxy <no-proxy-list>",
@@ -295,8 +297,6 @@ static const struct helptxt helptext[] = {
"Use this proxy first"},
{"-#, --progress-bar",
"Display transfer progress as a bar"},
- {" --progress-meter",
- "Show the progress meter"},
{" --proto <protocols>",
"Enable/disable PROTOCOLS"},
{" --proto-default <protocol>",