From e482118106c63edd3c9f6647e4232e90b4c16066 Mon Sep 17 00:00:00 2001 From: oharboe Date: Mon, 25 Feb 2008 07:50:03 +0000 Subject: - 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 --- src/flash/at91sam7.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/flash/at91sam7.c') diff --git a/src/flash/at91sam7.c b/src/flash/at91sam7.c index 3e920e3d..a9776d48 100644 --- a/src/flash/at91sam7.c +++ b/src/flash/at91sam7.c @@ -955,8 +955,7 @@ int at91sam7_handle_gpnvm_command(struct command_context_s *cmd_ctx, char *cmd, } else { - command_print(cmd_ctx, "usage: at91sam7 gpnvm "); - return ERROR_OK; + return ERROR_COMMAND_SYNTAX_ERROR; } /* Configure the flash controller timing */ -- cgit v1.2.3