obey -h argument when -d is not given in