A couple of fixes on the directory command for formatting specs printout.