From 0c4b53e9ef96ab08519c40e3cb47e3cae225c190 Mon Sep 17 00:00:00 2001 From: Mark Riddoch Date: Wed, 5 Feb 2014 15:17:36 +0100 Subject: [PATCH] Addition of warnign to the debug command line interface regarding passing bad arguments. --- server/modules/routing/debugcli.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/server/modules/routing/debugcli.c b/server/modules/routing/debugcli.c index 8b54acfa6..9c21c66f2 100644 --- a/server/modules/routing/debugcli.c +++ b/server/modules/routing/debugcli.c @@ -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;