pver = pver || pdefault;
prel = prel || pdefault;
- /* TODO need to quote single quotes for eval'able output */
for (i=optind; i<ac; i++) {
printed = 0;
found = zpm_parse_package(av[i], name, ver, &rel);
+ /* single quotes aren't allowed, so a simple single quote
+ * is sufficient for eval */
if (found >= 1 && pname) {
if (eval) {
printf("name='%s'\n", name);