Bug 21865: allow test arg alone
authorFridolin Somers <fridolin.somers@biblibre.com>
Wed, 11 Mar 2020 14:39:18 +0000 (17:39 +0300)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Tue, 14 Apr 2020 15:54:24 +0000 (16:54 +0100)
Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

misc/migration_tools/remove_unused_authorities.pl

index 00869a9..2e5c097 100755 (executable)
@@ -38,7 +38,7 @@ GetOptions(
     'h|help'             => \$want_help,
 );
 
-if ( $want_help || !$confirm ) {
+if ( $want_help || !($test || $confirm) ) {
     print_usage();
     exit 0;
 }