Bug #1038
- 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:
committed by
Paul Beckingham
parent
54e3de8118
commit
406f098263
@@ -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.
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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
|
||||
{
|
||||
|
||||
@@ -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
|
||||
{
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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
|
||||
{
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -721,7 +721,6 @@ bool Command::permission (
|
||||
return true;
|
||||
|
||||
int answer = confirm4 (question);
|
||||
std::cout << "\n"; // #499
|
||||
switch (answer)
|
||||
{
|
||||
case 1: return true; // yes
|
||||
|
||||
Reference in New Issue
Block a user