MySQL 9.1.0
Source Code Documentation
|
#include "plugin_info_app.h"
#include <iostream>
#include <string>
#include "mysql/harness/tty.h"
#include "mysql/harness/vt100.h"
#include "mysql/harness/vt100_filter.h"
Functions | |
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) |
|
static |
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.
cerr | output stream |
program_name | name of executable that was started (argv[0]) |
errmsg | error message to display |
with_help | true, if "hint for help" shall be displayed |
int main | ( | int | argc, |
char ** | argv | ||
) |