1 #include "api_action.h"
3 #include "parser_state.h"
5 SGCONF::PARSER_STATE SGCONF::API_ACTION::Parse(int argc, char ** argv)
7 PARSER_STATE state(false, argc, argv);
8 if (!m_argument.empty())
13 throw ERROR("Missing argument.");
18 m_suboptions.Parse(state.argc, state.argv);
19 m_commands.Add(m_funPtr, m_argument, m_params);