Skip to content

Commit

Permalink
Merge pull request #395 from mattias-p/394-stop-level
Browse files Browse the repository at this point in the history
Make --stop-level disabled by default again
  • Loading branch information
mattias-p authored Nov 14, 2024
2 parents cef20e9 + fbaac8b commit 7f1fa6d
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 25 deletions.
4 changes: 2 additions & 2 deletions lib/Zonemaster/CLI.pm
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ use Locale::TextDomain 'Zonemaster-CLI';

use Encode;
use File::Slurp;
use Getopt::Long qw[GetOptionsFromArray :config bundling no_auto_abbrev];
use Getopt::Long qw[GetOptionsFromArray :config gnu_compat bundling no_auto_abbrev];
use JSON::XS;
use List::Util qw[max uniq];
use Net::IP::XS;
Expand Down Expand Up @@ -92,7 +92,7 @@ sub run {
my $opt_show_testcase = 0;
my $opt_sourceaddr4;
my $opt_sourceaddr6;
my $opt_stop_level = 'CRITICAL';
my $opt_stop_level = '';
my @opt_test = ();
my $opt_time = 1;
my $opt_version = 0;
Expand Down
4 changes: 4 additions & 0 deletions script/zonemaster-cli
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,10 @@ This option is case-insensitive.
=item --stop_level=LEVEL, --stop-level=LEVEL

Specify the minimum severity level after which the testing suite is terminated.
(default: the empty string)

=for :man When set to the empty string, testing is allowed to complete normally
no matter what messages are emitted.

=for :man The levels are, from highest to lowest: CRITICAL, ERROR, WARNING, NOTICE,
INFO, DEBUG, DEBUG2 and DEBUG3.
Expand Down
Loading

0 comments on commit 7f1fa6d

Please sign in to comment.