work in progress to improve help

git-svn-id: svn://svn.berlios.de/openocd/trunk@792 b42882b7-edfa-0310-969c-e2dbd0fdcd60
This commit is contained in:
oharboe
2008-07-11 15:07:58 +00:00
parent c5b718f5e8
commit 69c6f1f7ea
5 changed files with 71 additions and 18 deletions

View File

@@ -106,6 +106,7 @@ FILE *open_file_from_path (char *file, char *mode)
int parse_config_file(struct command_context_s *cmd_ctx)
{
int retval;
char **cfg;
if (!config_file_names)
@@ -115,7 +116,9 @@ int parse_config_file(struct command_context_s *cmd_ctx)
while (*cfg)
{
command_run_line(cmd_ctx, *cfg);
retval=command_run_line(cmd_ctx, *cfg);
if (retval!=ERROR_OK)
return retval;
cfg++;
}