summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorSpencer Oliver <ntfreak@users.sourceforge.net>2010-03-17 09:57:44 +0000
committerSpencer Oliver <ntfreak@users.sourceforge.net>2010-03-17 09:57:44 +0000
commit3ad171cd537f8fc1bac649f24513ebfafd95baf2 (patch)
treeaa17ef40452b330b6b7cccfa1e67201656af52e8 /doc
parente7e9bfde47768b22be8b15c30c027dc8fb67c778 (diff)
downloadopenocd+libswd-3ad171cd537f8fc1bac649f24513ebfafd95baf2.tar.gz
openocd+libswd-3ad171cd537f8fc1bac649f24513ebfafd95baf2.tar.bz2
openocd+libswd-3ad171cd537f8fc1bac649f24513ebfafd95baf2.tar.xz
openocd+libswd-3ad171cd537f8fc1bac649f24513ebfafd95baf2.zip
SCRIPT: add add_script_search_dir cmd
Add a add_script_search_dir cmd so that adding search dir's can be added to cfg scripts. Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
Diffstat (limited to 'doc')
-rw-r--r--doc/openocd.texi5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/openocd.texi b/doc/openocd.texi
index 780cd4d7..98fc6900 100644
--- a/doc/openocd.texi
+++ b/doc/openocd.texi
@@ -590,6 +590,7 @@ Configuration files and scripts are searched for in
@enumerate
@item the current directory,
@item any search dir specified on the command line using the @option{-s} option,
+@item any search dir specified using the @command{add_script_search_dir} command,
@item @file{$HOME/.openocd} (not on Windows),
@item the site wide script library @file{$pkgdatadir/site} and
@item the OpenOCD-supplied script library @file{$pkgdatadir/scripts}.
@@ -5396,6 +5397,10 @@ Redirect logging to @var{filename};
the initial log output channel is stderr.
@end deffn
+@deffn Command add_script_search_dir [directory]
+Add @var{directory} to the file/script search path.
+@end deffn
+
@anchor{Target State handling}
@section Target State handling
@cindex reset