gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnurl] 152/222: docs: document it as --no-progress-meter instead of the


From: gnunet
Subject: [gnurl] 152/222: docs: document it as --no-progress-meter instead of the reverse
Date: Thu, 07 Nov 2019 00:10:48 +0100

This is an automated email from the git hooks/post-receive script.

ng0 pushed a commit to branch master
in repository gnurl.

commit 9e03faccc3d4b64b09061aeebda8270e27d9ed86
Author: Daniel Stenberg <address@hidden>
AuthorDate: Tue Oct 8 23:05:35 2019 +0200

    docs: document it as --no-progress-meter instead of the reverse
    
    Follow-up to 93373a960c3bb4
    
    Reported-by: infinnovation-dev on github
    Fixes #4474
    Closes #4475
---
 docs/cmdline-opts/no-progress-meter.d | 10 ++++++++++
 docs/cmdline-opts/progress-meter.d    |  8 --------
 src/tool_help.c                       |  4 ++--
 tests/manpage-scan.pl                 |  4 +++-
 4 files changed, 15 insertions(+), 11 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>",
diff --git a/tests/manpage-scan.pl b/tests/manpage-scan.pl
index b6864c857..ba6577c18 100755
--- a/tests/manpage-scan.pl
+++ b/tests/manpage-scan.pl
@@ -6,7 +6,7 @@
 #                            | (__| |_| |  _ <| |___
 #                             \___|\___/|_| \_\_____|
 #
-# Copyright (C) 2016, 2017, Daniel Stenberg, <address@hidden>, et al.
+# Copyright (C) 2016 - 2019, Daniel Stenberg, <address@hidden>, et al.
 #
 # This software is licensed as described in the file COPYING, which
 # you should have received as part of this distribution. The terms
@@ -138,6 +138,7 @@ my %opts = (
     '-N, --no-buffer' => 1,
     '--no-sessionid' => 1,
     '--no-keepalive' => 1,
+    '--no-progress-meter' => 1,
 
     # pretend these options without -no exist in curl.1 and tool_help.c
     '--alpn' => 6,
@@ -147,6 +148,7 @@ my %opts = (
     '--keepalive' => 6,
     '-N, --buffer' => 6,
     '--sessionid' => 6,
+    '--progress-meter' => 6,
 
     # deprecated options do not need to be in tool_help.c nor curl.1
     '--krb4' => 6,

-- 
To stop receiving notification emails like this one, please contact
address@hidden.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]