fixup! cli: CommandAdd: Add verbose (-v)
Cette révision appartient à :
Parent
d23dadbe49
révision
71084f7603
@ -111,10 +111,9 @@ int CommandAdd::handle(QStringList arguments)
|
||||
{
|
||||
IndexResult indexResult = indexer->getResult();
|
||||
int newlyAdded = indexResult.results.count() - currentResult.results.count();
|
||||
int newOffset = 0;
|
||||
if(newlyAdded > 0)
|
||||
{
|
||||
newOffset = indexResult.results.count() - newlyAdded;
|
||||
int newOffset = indexResult.results.count() - newlyAdded;
|
||||
for(int i = newOffset; i < indexResult.results.count(); i++)
|
||||
{
|
||||
auto result = indexResult.results.at(i);
|
||||
|
Chargement…
Référencer dans un nouveau ticket
Block a user