--- pkgtree-1.1/bin/pkgtree.orig +++ pkgtree-1.1/bin/pkgtree @@ -146,7 +146,6 @@ delete $args{'cache-file'}; delete $args{'force-cache'}; delete $args{'no-cache'}; -delete $args{'no-pager'}; delete $args{'no-colour'}; my @output; @@ -171,7 +170,7 @@ # If STDOUT is connected to a terminal and --no-pager was not specified # then send the result to the pager # -if (-t STDOUT and !$args{'--no-pager'}) { +if (-t STDOUT and !$args{'no-pager'}) { my $pager = $ENV{PAGER} || 'less'; #