X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=doc%2Fopenocd.1;h=4278486e5da42a17847a537f1aee1af00af72f1c;hp=d9f8a7c0570a8eef1cc992044aa89d72e9f189fa;hb=1f3ca0b5b81d9f9e4565cf177797a17ad37ef2c3;hpb=e07ad3057771eb51b6cda86c9bd9e4a92f35a129 diff --git a/doc/openocd.1 b/doc/openocd.1 index d9f8a7c057..4278486e5d 100644 --- a/doc/openocd.1 +++ b/doc/openocd.1 @@ -22,19 +22,23 @@ please check the \fIopenocd\fR info page for the complete list. .SH "OPTIONS" .TP .B "\-f, \-\-file " -Use configuration file -.BR . +This is a shortcut for a \fB\-c "[script \fI\fB]"\fR +command, using a search path to load the configuration file +.IR . In order to specify multiple config files, you can use multiple .B \-\-file -arguments. If this option is omitted, the config file +arguments. If no such \fB\-c\fR +options are included, the first config file .B openocd.cfg -in the current working directory will be used. +in the search path will be used. .TP .B "\-s, \-\-search " -Search for config files and scripts in the directory -.BR . -If this option is omitted, OpenOCD searches for config files and scripts -in the current directory. +Add +.I +to the search path used for config files and scripts. +The search path begins with the current directory, +then includes these additional directories before other +components such as the standard OpenOCD script libraries. .TP .B "\-d, \-\-debug " Set debug level. Possible values are: @@ -52,13 +56,17 @@ The default level is .TP .B "\-l, \-\-log_output " Redirect log output to the file -.BR . +.IR . Per default the log output is printed on .BR stderr . .TP .B "\-c, \-\-command " -Run the command -.BR . +Add the command +.I +to a list of commands executed on server startup. +Note that you will need to explicitly invoke +.I init +if the command requires access to a target or flash. .TP .B "\-p, \-\-pipe" Use pipes when talking to gdb. @@ -70,7 +78,7 @@ Show a help text and exit. Show version information and exit. .SH "BUGS" Please report any bugs on the mailing list at -.BR openocd\-development@lists.berlios.de . +.BR openocd\-devel@lists.sourceforge.net . .SH "LICENCE" .B OpenOCD is covered by the GNU General Public License (GPL), version 2 or later. @@ -88,9 +96,6 @@ and programs are properly installed at your site, the command .B info openocd should give you access to the complete manual. -.PP -Also, the OpenOCD wiki contains some more information and examples: -.B http://openfacts.berlios.de/index-en.phtml?title=Open_On-Chip_Debugger .SH "AUTHORS" Please see the file AUTHORS. .PP