fixup! cli: CommandAdd: Add verbose (-v)
这个提交包含在:
父节点
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);
|
||||
|
正在加载...
在新工单中引用
屏蔽一个用户