Addition of warnign to the debug command line interface regarding passing

bad arguments.
This commit is contained in:
Mark Riddoch 2014-02-05 15:17:36 +01:00
parent 3edea0afc4
commit 0c4b53e9ef

View File

@ -177,6 +177,8 @@ CLI_SESSION *client;
dcb_printf(session->client, "Welcome the SkySQL MaxScale Debug Interface (%s).\n",
version_str);
dcb_printf(session->client, "WARNING: This interface is meant for developer usage,\n");
dcb_printf(session->client, "passing incorrect addresses to commands can endanger your MaxScale server.\n\n");
dcb_printf(session->client, "Type help for a list of available commands.\n\n");
return (void *)client;