reformat long commands