Format long commands properly