Changed -s option on scripts to -rc due to conflict when ran from sessions command with -s option

git-svn-id: file:///home/svn/framework3/trunk@9437 4d416f70-5f16-0410-b530-b9f4589650da
unstable
Carlos Perez 2010-06-06 02:42:52 +00:00
parent 88a7d4b6ca
commit 5438d970b1
1 changed files with 2 additions and 2 deletions

View File

@ -11,7 +11,7 @@ wininfo = client.sys.config.sysinfo
"-h" => [ false,"Help menu." ],
"-c" => [ true,"Commands to execute. The command must be enclosed in double quotes and separated by a comma."],
"-f" => [ true,"File where to saved output of command."],
"-s" => [ true,"Text file with list of commands, one per line."]
"-rc" => [ true,"Text file with list of commands, one per line."]
)
#Setting Argument variables
commands = []
@ -69,7 +69,7 @@ end
when "-c"
commands = val.split(",")
when "-s"
when "-rc"
script = val
if not ::File.exists?(script)
raise "Command List File does not exists!"