aboutsummaryrefslogtreecommitdiff
path: root/src/helper/jim.h
diff options
context:
space:
mode:
authorzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-06-23 22:42:54 +0000
committerzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-06-23 22:42:54 +0000
commit84df52f9ea78e2d71bde648a16b69d80404c6421 (patch)
tree93c683e2ec71d33978585da29c4bcaa73fd37222 /src/helper/jim.h
parent3813fda44adcea486b7308423a699f63d79273ee (diff)
downloadriscv-openocd-84df52f9ea78e2d71bde648a16b69d80404c6421.zip
riscv-openocd-84df52f9ea78e2d71bde648a16b69d80404c6421.tar.gz
riscv-openocd-84df52f9ea78e2d71bde648a16b69d80404c6421.tar.bz2
- Fixes '=' whitespace
- Replace ')\(=\)\(\w\)' with ') \1 \2'. - Replace '\(\w\)\(=\)(' with '\1 \2 ('. - Replace '\(\w\)\(=\)\(\w\)' with '\1 \2 \3'. git-svn-id: svn://svn.berlios.de/openocd/trunk@2372 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/helper/jim.h')
-rw-r--r--src/helper/jim.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/helper/jim.h b/src/helper/jim.h
index 3d3346c..97846f1 100644
--- a/src/helper/jim.h
+++ b/src/helper/jim.h
@@ -575,7 +575,7 @@ typedef struct Jim_Reference {
* known string, or there may be multiple strings (aliases) that mean then same
* thing.
*
- * An NVP Table is terminated with ".name=NULL".
+ * An NVP Table is terminated with ".name = NULL".
*
* During the 'name2value' operation, if no matching string is found
* the pointer to the terminal element (with p->name == NULL) is returned.
@@ -966,7 +966,7 @@ JIM_STATIC const char *JIM_API( Jim_Debug_ArgvString )( Jim_Interp *interp, int
* Usefull when dealing with command options.
* that may come in any order...
*
- * Does not support "-foo=123" type options.
+ * Does not support "-foo = 123" type options.
* Only supports tcl type options, like "-foo 123"
*/
@@ -1097,7 +1097,7 @@ JIM_STATIC int JIM_API( Jim_GetOpt_Nvp)( Jim_GetOptInfo *goi, const Jim_Nvp *loo
*
* This function assumes the previous option argv[-1] is the unknown string.
*
- * If this option had some prefix, then pass "hadprefix=1" else pass "hadprefix=0"
+ * If this option had some prefix, then pass "hadprefix = 1" else pass "hadprefix = 0"
*
* Example:
* \code
@@ -1107,7 +1107,7 @@ JIM_STATIC int JIM_API( Jim_GetOpt_Nvp)( Jim_GetOptInfo *goi, const Jim_Nvp *loo
* e = Jim_GetOpt_Nvp( &goi, cmd_options, &n );
* if ( e != JIM_OK ){
* // option was not recognized
- * // pass 'hadprefix=0' because there is no prefix
+ * // pass 'hadprefix = 0' because there is no prefix
* Jim_GetOpt_NvpUnknown( &goi, cmd_options, 0 );
* return e;
* }