gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [gnurl] 41/163: cmdline-opts/gen.pl: warn if mutexes: or se


From: gnunet
Subject: [GNUnet-SVN] [gnurl] 41/163: cmdline-opts/gen.pl: warn if mutexes: or see-also: list non-existing options
Date: Sun, 05 Aug 2018 12:36:07 +0200

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

ng0 pushed a commit to branch master
in repository gnurl.

commit 06a72880d6a1bfb1517df4b24d892eb6922de114
Author: Daniel Stenberg <address@hidden>
AuthorDate: Mon May 28 14:59:37 2018 +0200

    cmdline-opts/gen.pl: warn if mutexes: or see-also: list non-existing options
---
 docs/cmdline-opts/gen.pl | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/docs/cmdline-opts/gen.pl b/docs/cmdline-opts/gen.pl
index 6ecf1b51e..dd990caf0 100755
--- a/docs/cmdline-opts/gen.pl
+++ b/docs/cmdline-opts/gen.pl
@@ -202,6 +202,9 @@ sub single {
         my @m=split(/ /, $seealso);
         my $mstr;
         for my $k (@m) {
+            if(!$helplong{$k}) {
+                print STDERR "WARN: $f see-alsos a non-existing option: $k\n";
+            }
             my $l = manpageify($k);
             $mstr .= sprintf "%s$l", $mstr?" and ":"";
         }
@@ -216,6 +219,9 @@ sub single {
         my @m=split(/ /, $mutexed);
         my $mstr;
         for my $k (@m) {
+            if(!$helplong{$k}) {
+                print STDERR "WARN: $f mutexes a non-existing option: $k\n";
+            }
             my $l = manpageify($k);
             $mstr .= sprintf "%s$l", $mstr?" and ":"";
         }

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



reply via email to

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