diff options
Diffstat (limited to 'src/helper')
-rw-r--r-- | src/helper/configuration.c | 6 | ||||
-rw-r--r-- | src/helper/options.c | 9 |
2 files changed, 9 insertions, 6 deletions
diff --git a/src/helper/configuration.c b/src/helper/configuration.c index 0a7bf180..1bed1e06 100644 --- a/src/helper/configuration.c +++ b/src/helper/configuration.c @@ -36,12 +36,6 @@ static char** config_file_names; static size_t num_script_dirs;
static char** script_search_dirs;
-int configuration_output_handler(struct command_context_s *context, char* line)
-{
- INFO(line);
-
- return ERROR_OK;
-}
void add_script_search_dir (const char *dir)
{
diff --git a/src/helper/options.c b/src/helper/options.c index 908748dd..b6b2c6dc 100644 --- a/src/helper/options.c +++ b/src/helper/options.c @@ -48,6 +48,15 @@ static struct option long_options[] = };
+
+int configuration_output_handler(struct command_context_s *context, char* line)
+{
+ INFO(line);
+
+ return ERROR_OK;
+}
+
+
int parse_cmdline_args(struct command_context_s *cmd_ctx, int argc, char *argv[])
{
int c;
|