Changed the order of help messages about seslog command

This commit is contained in:
Markus Makela
2014-11-19 15:22:12 +02:00
parent a91fe90915
commit 2e456c7348

View File

@ -383,14 +383,6 @@ struct subcommand enableoptions[] = {
"Enable Log options for MaxScale, options trace | error | " "Enable Log options for MaxScale, options trace | error | "
"message E.g. enable log message.", "message E.g. enable log message.",
{ARG_TYPE_STRING, 0, 0} {ARG_TYPE_STRING, 0, 0}
},
{
"root",
1,
enable_service_root,
"Enable root access to a service, pass a service name to enable root access",
"Enable root access to a service, pass a service name to enable root access",
{ARG_TYPE_SERVICE, 0, 0}
}, },
{ {
"seslog", "seslog",
@ -402,6 +394,14 @@ struct subcommand enableoptions[] = {
"message <session id> E.g. enable log message 123.", "message <session id> E.g. enable log message 123.",
{ARG_TYPE_STRING, ARG_TYPE_STRING, 0} {ARG_TYPE_STRING, ARG_TYPE_STRING, 0}
}, },
{
"root",
1,
enable_service_root,
"Enable root access to a service, pass a service name to enable root access",
"Enable root access to a service, pass a service name to enable root access",
{ARG_TYPE_SERVICE, 0, 0}
},
{ {
NULL, NULL,
0, 0,