File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed
lib/msf/ui/console/command_dispatcher Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -781,7 +781,6 @@ def cmd_irb(*args)
781
781
end
782
782
end
783
783
784
-
785
784
def cmd_rename_job_help
786
785
print_line "Usage: rename_job [ID] [Name]"
787
786
print_line
@@ -814,6 +813,17 @@ def cmd_rename_job(*args)
814
813
true
815
814
end
816
815
816
+ #
817
+ # Tab completion for the rename_job command
818
+ #
819
+ # @param str [String] the string currently being typed before tab was hit
820
+ # @param words [Array<String>] the previously completed words on the command line. words is always
821
+ # at least 1 when tab completion has reached this stage since the command itself has been completed
822
+
823
+ def cmd_rename_job_tabs ( str , words )
824
+ return [ ] if words . length > 1
825
+ framework . jobs . keys
826
+ end
817
827
818
828
def cmd_jobs_help
819
829
print_line "Usage: jobs [options]"
You can’t perform that action at this time.
0 commit comments