Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make --stop-level disabled by default again #395

Merged
merged 1 commit into from
Nov 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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