]> git.stg.codes - stg.git/blobdiff - projects/sgconf/services.cpp
Implemented --add-admin.
[stg.git] / projects / sgconf / services.cpp
index 7989de20941916a67fc26da0636c82a83d49bf27..f5d737428c8960026ef2e0558dffc0c68e1e7de0 100644 (file)
@@ -34,9 +34,9 @@ std::cout << Indent(level, true) << "name: " << info.name << "\n"
 std::vector<SGCONF::API_ACTION::PARAM> GetServiceParams()
 {
 std::vector<SGCONF::API_ACTION::PARAM> params;
-params.push_back({"cost", "<cost>", "\tcost of the service"});
-params.push_back({"pay-day", "<month day>", "payment day"});
-params.push_back({"comment", "<text>", "comment"});
+params.push_back(SGCONF::API_ACTION::PARAM("cost", "<cost>", "\tcost of the service"));
+params.push_back(SGCONF::API_ACTION::PARAM("pay-day", "<month day>", "payment day"));
+params.push_back(SGCONF::API_ACTION::PARAM("comment", "<text>", "comment"));
 return params;
 }