From 4ce9cf2d500129d3ea3b9833ddbb2e5284bec871 Mon Sep 17 00:00:00 2001 From: Fridolin Somers Date: Wed, 11 Mar 2020 17:39:18 +0300 Subject: [PATCH] Bug 21865: allow test arg alone Signed-off-by: Bernardo Gonzalez Kriegel Signed-off-by: Jonathan Druart Signed-off-by: Martin Renvoize Signed-off-by: Joy Nelson (cherry picked from commit 8523817dcc4d2219138b1c8600f289cbe9a009ee) Signed-off-by: Lucas Gass --- misc/migration_tools/remove_unused_authorities.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/migration_tools/remove_unused_authorities.pl b/misc/migration_tools/remove_unused_authorities.pl index 00869a9b28..2e5c0971f3 100755 --- a/misc/migration_tools/remove_unused_authorities.pl +++ b/misc/migration_tools/remove_unused_authorities.pl @@ -38,7 +38,7 @@ GetOptions( 'h|help' => \$want_help, ); -if ( $want_help || !$confirm ) { +if ( $want_help || !($test || $confirm) ) { print_usage(); exit 0; } -- 2.39.5