@@ -38,14 +38,14 @@ class Console::CommandDispatcher::Stdapi::Sys
38
38
#
39
39
@@reboot_opts = Rex ::Parser ::Arguments . new (
40
40
"-h" => [ false , "Help menu." ] ,
41
- "-f" => [ true , "Force a reboot, valid values [1|2]" ] )
41
+ "-f" => [ true , "Force a reboot, valid values [1|2]" ] )
42
42
43
43
#
44
44
# Options used by the 'shutdown' command.
45
45
#
46
46
@@shutdown_opts = Rex ::Parser ::Arguments . new (
47
47
"-h" => [ false , "Help menu." ] ,
48
- "-f" => [ true , "Force a shutdown, valid values [1|2]" ] )
48
+ "-f" => [ true , "Force a shutdown, valid values [1|2]" ] )
49
49
50
50
#
51
51
# Options used by the 'reg' command.
@@ -330,7 +330,7 @@ def cmd_kill_help
330
330
# @param pids [Array<String>] The pids to validate
331
331
# @param allow_pid_0 [Boolean] whether to consider a pid of 0 as valid
332
332
# @param allow_session_pid [Boolean] whether to consider a pid = the current session pid as valid
333
- # @return [Array] Returns an array of valid pids
333
+ # @return [Array] Returns an array of valid pids
334
334
335
335
def validate_pids ( pids , allow_pid_0 = false , allow_session_pid = false )
336
336
@@ -797,7 +797,7 @@ def cmd_suspend(*args)
797
797
return true
798
798
end
799
799
800
- continue = args . delete ( "-c" ) || false
800
+ continue = args . delete ( "-c" ) || false
801
801
resume = args . delete ( "-r" ) || false
802
802
803
803
# validate all the proposed pids first so we can bail if one is bogus
0 commit comments