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:
parent
49608e282e
commit
9665e950e3
|
@ -1462,6 +1462,7 @@ bool Cmdline::run() {
|
||||||
count,
|
count,
|
||||||
entry.c_str(),
|
entry.c_str(),
|
||||||
insertItem(raw, "", content).getEncoded().c_str());
|
insertItem(raw, "", content).getEncoded().c_str());
|
||||||
|
count++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
char *token = NULL;
|
char *token = NULL;
|
||||||
|
|
Loading…
Reference in a new issue