Bug 21865: allow test arg alone

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>
This commit is contained in:
Fridolin Somers 2020-03-11 17:39:18 +03:00 committed by Martin Renvoize
parent e788ac4e58
commit 74c63d27c7
No known key found for this signature in database
GPG Key ID: 422B469130441A0F
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ GetOptions(
'h|help' => \$want_help,
);
if ( $want_help || !$confirm ) {
if ( $want_help || !($test || $confirm) ) {
print_usage();
exit 0;
}