<div dir="ltr">Hi, devs<div><br></div><div>I have to use $macports::ui_options(questions_singlechoice) for a project on a list of some other registry data structure (snapshot) and not ports. It gets displayed in the following manner on terminal:</div><div><br></div><div>
<p class="gmail-p1"><span class="gmail-s1">Select any one snapshot to restore:</span></p>
<p class="gmail-p1"><span class="gmail-s1"><span class="gmail-Apple-converted-space"> </span>1) ::registry::snapshot0</span></p>
<p class="gmail-p1"><span class="gmail-s1"><span class="gmail-Apple-converted-space"> </span>2) ::registry::snapshot1</span></p>
<p class="gmail-p1"><span class="gmail-s1"><span class="gmail-Apple-converted-space"> </span>3) ::registry::snapshot2</span></p>
<p class="gmail-p1"><span class="gmail-s1"><span class="gmail-Apple-converted-space"> </span>4) ::registry::snapshot3</span></p>
<p class="gmail-p1"><span class="gmail-s1">Enter a number to select an option: </span></p><p class="gmail-p1"><span class="gmail-s1"><br></span></p><p class="gmail-p1">I would like to know how to display useful information enough to identify instead of "::registry::snapshot0" or "::registry::snapshot1". A registry::snapshot has id, note, created_at fields.</p><p class="gmail-p1">Thanks for any help.</p></div></div>