File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
lib/msf/ui/console/command_dispatcher Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -66,12 +66,11 @@ def local_editor
66
66
end
67
67
68
68
def cmd_edit_help
69
- msg = "Edit a local file or the currently active module"
70
- msg = "#{ msg } #{ local_editor ? "with #{ local_editor } " : "(LocalEditor or $VISUAL/$EDITOR should be set first)" } ."
71
69
print_line "Usage: edit [file/to/edit.rb]"
72
70
print_line
73
- print_line msg
74
- print_line "When done editing, you can reload the module with 'reload' or 'rerun'."
71
+ print_line "Edit a local file or the currently active module with #{ local_editor } "
72
+ print_line "If a file path is specified it will automatically be reloaded after editing"
73
+ print_line "Otherwise, you can reload the active module with 'reload' or 'rerun'."
75
74
print_line
76
75
end
77
76
You can’t perform that action at this time.
0 commit comments