ui_options(questions_singlechoice)

Umesh Singla umeshksingla at macports.org
Fri Oct 6 16:48:11 UTC 2017


Hi, devs

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:

Select any one snapshot to restore:

 1) ::registry::snapshot0

 2) ::registry::snapshot1

 3) ::registry::snapshot2

 4) ::registry::snapshot3

Enter a number to select an option:


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.

Thanks for any help.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-dev/attachments/20171006/46eac37a/attachment-0001.html>


More information about the macports-dev mailing list