List deleted factoids

This commit is contained in:
Neale Pickett 2012-11-23 13:02:31 -07:00
parent aaa94730fd
commit 6cd618c849
1 changed files with 1 additions and 0 deletions

View File

@ -213,6 +213,7 @@ del(char *filename, char *key, char *glob)
(0 == memcmp(k, key, klen)) && (0 == memcmp(k, key, klen)) &&
(0 == fnmatch(glob, v, 0))) { (0 == fnmatch(glob, v, 0))) {
// Skip if it matches // Skip if it matches
printf("-%.*s\n", vlen, v);
} else { } else {
cdbmake_add(&outc, k, klen, v, vlen); cdbmake_add(&outc, k, klen, v, vlen);
} }