Bug 34077: Allow to use --category-code as the only filter option
--category-code was not checked in the "at least one filter option" check but it is clearly a filter option. Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
This commit is contained in:
parent
215b29a737
commit
d5cb77532e
|
|
@ -32,7 +32,7 @@ if ( !$confirm && !$verbose ) {
|
|||
|
||||
@type = split( /,/, join( ',', @type ) );
|
||||
|
||||
if ( !$file && !@type && !$before && !$after ) {
|
||||
if ( !$file && !@type && !$before && !$after && !@category_code ) {
|
||||
say STDERR "Missing required filter option: at least one filter option should be used";
|
||||
pod2usage(2);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue