kdb: improve texts
@@ -44,7 +44,7 @@ int displayHelp (std::string app, Factory const & f)
std::cerr << "Sorry, I have a severe problem, it seems like I am not installed correctly!\n"
<< "kdbOpen() failed with the info:" << std::endl
<< ce.what () << std::endl
- << "Please report an issue on https://issues.libelektra.org/";
+ << "Please report the issue on https://issues.libelektra.org/";
return 8;
}
for (auto & command : commands)
@@ -83,7 +83,7 @@ void displayVersion ()
void catchSignal (int signum)
{
- cerr << endl << "Caught signal ";
+ cerr << endl << "Sorry, I crashed by the signal ";
switch (signum)
{
case SIGILL:
@@ -99,7 +99,7 @@ void catchSignal (int signum)
cerr << "SIGSEGV";
break;
}
- cerr << endl << "Please report an issue on https://issues.libelektra.org/" << std::endl;
+ cerr << endl << "Please report the issue on https://issues.libelektra.org/" << std::endl;
signal (SIGABRT, SIG_DFL);
abort ();
}
@@ -108,7 +108,8 @@ void setupSignal (int signum)
{
if (signal (signum, catchSignal) == SIG_ERR)
{
- cerr << "Could not setup signal " << signum << " because: " << strerror (errno) << std::endl;
+ cerr << "Sorry, I could not setup signal " << signum << " because: " << strerror (errno) << std::endl;
+ cerr << "Please report the issue on https://issues.libelektra.org/" << std::endl;
}
}
@@ -224,7 +225,7 @@ int main (int argc, char ** argv)
std::cerr << "The command " << getErrorColor (ANSI_COLOR::BOLD) << argv[0] << " " << command
<< getErrorColor (ANSI_COLOR::RESET) << " terminated " << getErrorColor (ANSI_COLOR::RED) << "unsuccessfully"
<< getErrorColor (ANSI_COLOR::RESET) << " with the info:\n"
- << ce.what () << "Please report an issue on https://issues.libelektra.org/" << std::endl;
+ << ce.what () << "Please report the issue on https://issues.libelektra.org/" << std::endl;
return 6;
}
catch (...)
@@ -232,7 +233,7 @@ int main (int argc, char ** argv)
std::cerr << "The command " << getErrorColor (ANSI_COLOR::BOLD) << argv[0] << " " << command
<< getErrorColor (ANSI_COLOR::RESET) << " terminated with an " << getErrorColor (ANSI_COLOR::RED)
<< "unknown error" << getErrorColor (ANSI_COLOR::RESET)
- << "Please report an issue on https://issues.libelektra.org/" << std::endl;
+ << "Please report the issue on https://issues.libelektra.org/" << std::endl;
displayHelp (argv[0], f);
return 7;
}
