Fixed issue reported by Valère Monseur because -p and -l are mutually exclusive