]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
handle not configured with trailing flags
authorMark Andrews <marka@isc.org>
Tue, 24 Aug 2021 04:08:10 +0000 (14:08 +1000)
committerMark Andrews <marka@isc.org>
Wed, 25 Aug 2021 00:14:50 +0000 (00:14 +0000)
doc/misc/format-options.pl

index fa1727b22f69605261f70194fd6be5063267420b..af21225bf3672d8238eadefba7f0f017d2eebbe8 100644 (file)
@@ -30,6 +30,7 @@ while (<>) {
        m!^( *)!;
        my $indent = $1;
        my $comment = "";
+       $line =~ s! // not configured,! //! if $strip_not_configured;
        $line =~ s! // not configured!! if $strip_not_configured;
        if ( $line =~ m!//.*! ) {
                $comment = $&;