command/list: reset used size after the list has been processed