Skip to content
This repository
Browse code

Low: tools: ocft: fix a misspelled command in README

  • Loading branch information...
commit d89bc46bce228cd93b876833532f484c674cad7b 1 parent b813327
John Shi authored March 01, 2013
4  tools/ocft/README.in
@@ -139,8 +139,8 @@ HOW TO WRITE CONFIGURATION FILE
139 139
         If it happens, you ought to use BashAtExit which can restore the system environment 
140 140
         before you quit.
141 141
 
142  
-    ** 'RunAgent' (sub-option)
143  
-      - Grammar: RunAgent cmd [ret_value]
  142
+    ** 'AgentRun' (sub-option)
  143
+      - Grammar: AgentRun cmd [ret_value]
144 144
       - This option is to run resource agent. "cmd" is the parameter of the resource agent, 
145 145
         such as "start, status, stop ...". The second parameter is optional. It will compare the 
146 146
         actual returned value with the expected value when the script has run recourse agent. 
4  tools/ocft/README.zh_CN.in
@@ -116,8 +116,8 @@ test case生存期内,后台运行一个远程shell,他始终在后台运行
116 116
 恢复,但是如果脚本在执行过程中产生某些错误,那么脚本会直接退出,而不会去执行你的恢复代码,
117 117
 那么你就要用到BashAtExit,他能在你退出前去恢复系统环境。
118 118
 
119  
-2.5.6 'RunAgent' 选项
120  
-语法:RunAgent cmd [ret_value]
  119
+2.5.6 'AgentRun' 选项
  120
+语法:AgentRun cmd [ret_value]
121 121
 此option会去运行resouce agent,'cmd' 就是resouce agent的参数,如 start,status,stop ...
122 122
 第二个参数是可选的,它是你对系统环境作出特殊设定以后,你预计resouce agent会返回的值,
123 123
 如果给出此参数,那么脚本会在运行resouce agent后,会比较此时的返回值和你预期的返回值,

0 notes on commit d89bc46

Please sign in to comment.
Something went wrong with that request. Please try again.