command line: fix output of --import for directories

The running count at the start of the line (#0, #1, ...) was
not incremented when reading individual files from a directory.
This commit is contained in:
Patrick Ohly 2012-09-25 20:54:55 +02:00
parent 49608e282e
commit 9665e950e3

View file

@ -1462,6 +1462,7 @@ bool Cmdline::run() {
count,
entry.c_str(),
insertItem(raw, "", content).getEncoded().c_str());
count++;
}
}
char *token = NULL;