Skip to content

Commit bc02df1

Browse files
committed
update cmd_edit_help
1 parent e83e4d0 commit bc02df1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/msf/ui/console/command_dispatcher/modules.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,12 +66,12 @@ def local_editor
6666
end
6767

6868
def cmd_edit_help
69-
msg = "Edit the currently active module"
69+
msg = "Edit a local file or the currently active module"
7070
msg = "#{msg} #{local_editor ? "with #{local_editor}" : "(LocalEditor or $VISUAL/$EDITOR should be set first)"}."
71-
print_line "Usage: edit"
71+
print_line "Usage: edit [file/to/edit.rb]"
7272
print_line
7373
print_line msg
74-
print_line "When done editing, you must reload the module with 'reload' or 'rerun'."
74+
print_line "When done editing, you can reload the module with 'reload' or 'rerun'."
7575
print_line
7676
end
7777

0 commit comments

Comments
 (0)