Land #8141, fix execute and kill cmd usage/help
commit
8e829ae951
|
@ -76,6 +76,7 @@ module Rex
|
|||
txt << " #{fmtspec.ljust(longest.length)}#{opt}#{val[1]}"
|
||||
end
|
||||
|
||||
txt << ""
|
||||
txt.join("\n")
|
||||
end
|
||||
|
||||
|
|
|
@ -371,6 +371,15 @@ class Console::CommandDispatcher::Stdapi::Sys
|
|||
return true
|
||||
end
|
||||
|
||||
#
|
||||
# help for the kill command
|
||||
#
|
||||
def cmd_kill_help
|
||||
print_line("Usage: kill [pid1 [pid2 [pid3 ...]]] [-s]")
|
||||
print_line("Terminate one or more processes.")
|
||||
print_line(" -s Kills the pid associated with the current session.")
|
||||
end
|
||||
|
||||
#
|
||||
# Kills one or more processes by name.
|
||||
#
|
||||
|
|
Loading…
Reference in New Issue