From 66bdc12f5555e85405ce66e70f7dba7782834858 Mon Sep 17 00:00:00 2001 From: Marcel Telka Date: Mon, 17 Feb 2003 17:30:25 +0000 Subject: [PATCH] 2003-02-17 Marcel Telka * src/help.c (help): Added help for new command 'script'. git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@363 b68d4a1b-bc3d-0410-92ed-d4ac073336b7 --- jtag/ChangeLog | 4 ++++ jtag/src/help.c | 8 ++++++++ 2 files changed, 12 insertions(+) diff --git a/jtag/ChangeLog b/jtag/ChangeLog index e628935e..a118d5f9 100644 --- a/jtag/ChangeLog +++ b/jtag/ChangeLog @@ -1,3 +1,7 @@ +2003-02-17 Marcel Telka + + * src/help.c (help): Added help for new command 'script'. + 2003-02-17 Marcel Telka * src/flash-intel.c (intel_flash_autodetect): Fixed Intel flash algorithm Id. diff --git a/jtag/src/help.c b/jtag/src/help.c index 77174085..d6cf1816 100644 --- a/jtag/src/help.c +++ b/jtag/src/help.c @@ -53,6 +53,7 @@ help( const char *cmd ) "readmem read content of the memory and write it to file\n" "flashmem burn flash memory with data from a file\n" "set set external signal value\n" + "script run command sequence from external file\n" "\n" "Type \"help COMMAND\" for details about particular command.\n", PACKAGE ); @@ -200,6 +201,13 @@ help( const char *cmd ) "DATA desired output signal value ('0' or '1'); used only if DIR\n" " is 'out'\n" ); + else if (strcmp( cmd, "script" ) == 0) + printf( + "Usage: script FILENAME\n" + "Run command sequence from external FILENAME.\n" + "\n" + "FILENAME Name of the file with commands\n" + ); else printf( "Invalid command.\n" ); }