reformat show detail output