diff options
author | David Brownell <dbrownell@users.sourceforge.net> | 2010-01-28 14:03:29 -0800 |
---|---|---|
committer | David Brownell <dbrownell@users.sourceforge.net> | 2010-01-28 14:03:29 -0800 |
commit | 804c0b2ad321247e50910511f691d987d8141081 (patch) | |
tree | 22f98618a52279237e0b068590d8da3d757807f1 /doc/openocd.texi | |
parent | 5dcf7898f6144266c814306003c1e0a5ee067011 (diff) |
doc clarifications for server flags
The "-f" is a shortcut for "-c" ... and providing any "-c" options
means the "openocd.cfg" file isn't implicitly used. Both the User's
Guide and the manual page were weak on these points, which has led
to some confusion.
Also update the manual page to include highlights of the search path
mechanism, including the facts that it exists and that "-s" adds to it.
Stop saying only the current directory is involved; the OpenOCD
script library is quite significant.
(Missing: complete manpage coverage of the search path, including a
FILES section listing all components and saying where the script
library is found.)
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Diffstat (limited to 'doc/openocd.texi')
-rw-r--r-- | doc/openocd.texi | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/doc/openocd.texi b/doc/openocd.texi index ee5c723d..38fa92f6 100644 --- a/doc/openocd.texi +++ b/doc/openocd.texi @@ -513,9 +513,10 @@ bash$ openocd --help --pipe | -p use pipes when talking to gdb @end verbatim -By default OpenOCD reads the configuration file @file{openocd.cfg}. -To specify a different (or multiple) -configuration file, you can use the @option{-f} option. For example: +If you don't give any @option{-f} or @option{-c} options, +OpenOCD tries to read the configuration file @file{openocd.cfg}. +To specify one or more different +configuration files, use @option{-f} options. For example: @example openocd -f config1.cfg -f config2.cfg -f config3.cfg |