MySQL 8.3.0
Source Code Documentation File Reference
#include "passwd.h"
#include <ostream>
#include <string>


static void display_error (std::ostream &cerr, const std::string program_name, const std::string &errmsg, bool with_help)
 display error. More...
int main (int argc, char **argv)

Function Documentation

◆ display_error()

static void display_error ( std::ostream &  cerr,
const std::string  program_name,
const std::string &  errmsg,
bool  with_help 

display error.

in case the frontend failed to parse arguments, show errormsg and a hint for help. If the frontend failed for another reason, just show the errormsg.

cerroutput stream
program_namename of executable that was started (argv[0])
errmsgerror message to display
with_helptrue, if "hint for help" shall be displayed

◆ main()

int main ( int  argc,
char **  argv