Format command spec nicely