Skip to content

Commit

Permalink
Land #18031, Improve help for "edit" and "log" commands
Browse files Browse the repository at this point in the history
  • Loading branch information
gwillcox-r7 committed May 30, 2023
2 parents 490a30a + 00451e3 commit 42d4c73
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/msf/ui/console/command_dispatcher/developer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,7 @@ def cmd_edit_help
print_line 'Usage: edit [file/to/edit]'
print_line
print_line "Edit the currently active module or a local file with #{local_editor}."
print_line 'To change the preferred editor, you can "setg LocalEditor".'
print_line 'If a library file is specified, it will automatically be reloaded after editing.'
print_line 'Otherwise, you can reload the active module with "reload" or "rerun".'
print_line
Expand Down Expand Up @@ -301,6 +302,7 @@ def cmd_log_help
print_line 'Usage: log'
print_line
print_line 'Display framework.log paged to the end if possible.'
print_line 'To change the preferred pager, you can "setg LocalPager".'
print_line 'For full effect, "setg LogLevel 3" before running modules.'
print_line
print_line "Log location: #{File.join(Msf::Config.log_directory, 'framework.log')}"
Expand Down

0 comments on commit 42d4c73

Please sign in to comment.