are consumed but don't use the 'keybit' mechanism. Without
this, mtree options returned ARCHIVE_WARN ("not used") for
these options.
SVN-Revision: 853
keybit = F_GNAME;
break;
case 'i':
- if (strcmp(key, "indent") == 0)
+ if (strcmp(key, "indent") == 0) {
mtree->indent = (value != NULL)? 1: 0;
+ return (ARCHIVE_OK);
+ }
break;
case 'l':
if (strcmp(key, "link") == 0)
keybit = F_UID;
else if (strcmp(key, "uname") == 0)
keybit = F_UNAME;
- else if (strcmp(key, "use-set") == 0)
+ else if (strcmp(key, "use-set") == 0) {
mtree->set.output = (value != NULL)? 1: 0;
+ return (ARCHIVE_OK);
+ }
break;
}
if (keybit != 0) {