From e9d45351deaf9ce85a9f1ee116f1f62988322e84 Mon Sep 17 00:00:00 2001 From: Maxim Mamontov Date: Sun, 12 Jan 2014 18:44:36 +0200 Subject: [PATCH] Added raw XML cli options. --- projects/sgconf/main.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/projects/sgconf/main.cpp b/projects/sgconf/main.cpp index a0ef89a1..3280e336 100644 --- a/projects/sgconf/main.cpp +++ b/projects/sgconf/main.cpp @@ -1239,6 +1239,14 @@ SGCONF::OPTION_BLOCK & block = blocks.Add("Connection options") .Add("u", "username", SGCONF::MakeParamAction(config.userName, std::string("admin"), ""), "\tadministrative login") .Add("w", "userpass", SGCONF::MakeParamAction(config.userPass, ""), "\tpassword for the administrative login") .Add("a", "address", SGCONF::MakeParamAction(config, ""), "connection params as a single string in format: :@:"); +blocks.Add("Raw XML") + .Add("r", "raw", SGCONF::MakeConfAction(), "\t\tmake raw XML request") +/*blocks.Add("Admins management options") + .Add("get-admins", SGCONF::MakeConfAction()) + .Add("get-admin", SGCONF::MakeConfAction()) + .Add("add-admin", SGCONF::MakeConfAction()) + .Add("del-admin", SGCONF::MakeConfAction()) + .Add("chg-admin", SGCONF::MakeConfAction());*/ SGCONF::PARSER_STATE state(false, argc, argv); -- 2.44.2