handle the -l switch with no argument