Add reason string for internal reverts

This commit is contained in:
Leonardo Alt committed 2020-02-10 11:57:20 -03:00
1 parent e8eb1f2d14
commit 36928c7a35
49 files changed
+555 -131

No files matched your search

+2 -2
View File
@@ -875,9 +875,9 @@ Allowed options)",
serr() << "Invalid option for --" << g_strRevertStrings << ": " << revertStringsString << endl;
return false;
}
if (*revertStrings != RevertStrings::Default && *revertStrings != RevertStrings::Strip)
if (*revertStrings == RevertStrings::VerboseDebug)
{
serr() << "Only \"default\" and \"strip\" are implemented for --" << g_strRevertStrings << " for now." << endl;
serr() << "Only \"default\", \"strip\" and \"debug\" are implemented for --" << g_strRevertStrings << " for now." << endl;
return false;
}
m_revertStrings = *revertStrings;