cli: print_text_table: followup code cleanup