The --dirs was sending -k instead of -d.