summaryrefslogtreecommitdiff
path: root/src/helper/options.c
diff options
context:
space:
mode:
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-02-25 07:50:03 +0000
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-02-25 07:50:03 +0000
commite482118106c63edd3c9f6647e4232e90b4c16066 (patch)
tree3e0e8e1c4a135b5631a7ba32f383f844576cfc30 /src/helper/options.c
parent815c3b353307796fb4d86a1880679dacaed00b6e (diff)
downloadopenocd+libswd-e482118106c63edd3c9f6647e4232e90b4c16066.tar.gz
openocd+libswd-e482118106c63edd3c9f6647e4232e90b4c16066.tar.bz2
openocd+libswd-e482118106c63edd3c9f6647e4232e90b4c16066.tar.xz
openocd+libswd-e482118106c63edd3c9f6647e4232e90b4c16066.zip
- using ERROR_COMMAND_SYNTAX_ERROR to print syntax in a couple of places
- some more flash cleanup of checking halted state - moved output handler into options.c - very slightly tweaked server.c to make it a bit more compatible with eCos - retired arch_state. Not quite sure how I managed to leave that out last time. git-svn-id: svn://svn.berlios.de/openocd/trunk@338 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/helper/options.c')
-rw-r--r--src/helper/options.c9
1 files changed, 9 insertions, 0 deletions
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;