fixup! cli: CommandAdd: Add verbose (-v)
This commit is contained in:
والد
d23dadbe49
کامیت
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);
|
||||
|
بارگذاری…
مرجع در شماره جدید
Block a user