Killing all jobs is now jobs -K

git-svn-id: file:///home/svn/framework3/trunk@4362 4d416f70-5f16-0410-b530-b9f4589650da
unstable
HD Moore 2007-02-11 23:25:07 +00:00
parent 8a797e6bcc
commit 22f9a47099
1 changed files with 2 additions and 2 deletions

View File

@ -31,7 +31,7 @@ class Core
@@jobs_opts = Rex::Parser::Arguments.new(
"-h" => [ false, "Help banner." ],
"-k" => [ true, "Terminate the specified job name." ],
"-a" => [ false, "Terminate all running jobs." ],
"-K" => [ false, "Terminate all running jobs." ],
"-l" => [ false, "List all running jobs." ])
@@persist_opts = Rex::Parser::Arguments.new(
@ -230,7 +230,7 @@ class Core
print_line("Stopping job: #{val}...")
framework.jobs.stop_job(val)
when "-a"
when "-K"
print_line("Stopping all jobs...")
framework.jobs.each_key do |i|
framework.jobs.stop_job(i)