- Fixed bug #1038, which prints blank lines with bulk changes and when the
  verbose attributes does not specify it.
- Lines do a better separation between each changes also.
This commit is contained in:
Louis-Claude Canon 2012-07-24 18:11:09 +02:00 committed by Paul Beckingham
parent 54e3de8118
commit 406f098263
11 changed files with 20 additions and 1 deletions

View file

@ -119,6 +119,8 @@ int CmdAnnotate::execute (std::string& output)
std::cout << STRING_CMD_ANNO_NO << "\n";
rc = 1;
}
if (context.verbose ("blank"))
std::cout << "\n";
}
// Now list the project changes.

View file

@ -119,6 +119,8 @@ int CmdAppend::execute (std::string& output)
std::cout << STRING_CMD_APPEND_NO << "\n";
rc = 1;
}
if (context.verbose ("blank"))
std::cout << "\n";
}
// Now list the project changes.

View file

@ -143,6 +143,8 @@ int CmdDelete::execute (std::string& output)
std::cout << STRING_CMD_DELETE_NO << "\n";
rc = 1;
}
if (context.verbose ("blank"))
std::cout << "\n";
}
else
{

View file

@ -127,6 +127,8 @@ int CmdDenotate::execute (std::string& output)
if (context.verbose ("project"))
projectChanges[task->get ("project")] = onProjectChange (*task, false);
}
if (context.verbose ("blank"))
std::cout << "\n";
}
else
{

View file

@ -120,6 +120,8 @@ int CmdDone::execute (std::string& output)
<< "\n";
rc = 1;
}
if (context.verbose ("blank"))
std::cout << "\n";
}
// Now list the project changes.

View file

@ -125,6 +125,8 @@ int CmdDuplicate::execute (std::string& output)
std::cout << STRING_CMD_DUPLICATE_NO << "\n";
rc = 1;
}
if (context.verbose ("blank"))
std::cout << "\n";
}
// Now list the project changes.

View file

@ -162,6 +162,8 @@ int CmdModify::execute (std::string& output)
std::cout << STRING_CMD_MODIFY_NO << "\n";
rc = 1;
}
if (context.verbose ("blank"))
std::cout << "\n";
}
}

View file

@ -119,6 +119,8 @@ int CmdPrepend::execute (std::string& output)
std::cout << STRING_CMD_PREPEND_NO << "\n";
rc = 1;
}
if (context.verbose ("blank"))
std::cout << "\n";
}
// Now list the project changes.

View file

@ -104,6 +104,8 @@ int CmdStart::execute (std::string& output)
std::cout << STRING_CMD_START_NO << "\n";
rc = 1;
}
if (context.verbose ("blank"))
std::cout << "\n";
}
else
{

View file

@ -109,6 +109,8 @@ int CmdStop::execute (std::string& output)
<< "\n";
rc = 1;
}
if (context.verbose ("blank"))
std::cout << "\n";
}
// Now list the project changes.

View file

@ -721,7 +721,6 @@ bool Command::permission (
return true;
int answer = confirm4 (question);
std::cout << "\n"; // #499
switch (answer)
{
case 1: return true; // yes