From 518d672ad56193a8d934b864dfd5169fdb525816 Mon Sep 17 00:00:00 2001 From: Matthew Kienow Date: Wed, 11 Apr 2018 18:09:48 -0400 Subject: [PATCH] Update cmd_notes help message test --- spec/lib/msf/ui/console/command_dispatcher/db_spec.rb | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/spec/lib/msf/ui/console/command_dispatcher/db_spec.rb b/spec/lib/msf/ui/console/command_dispatcher/db_spec.rb index 884b8595f9..e362208356 100644 --- a/spec/lib/msf/ui/console/command_dispatcher/db_spec.rb +++ b/spec/lib/msf/ui/console/command_dispatcher/db_spec.rb @@ -173,16 +173,15 @@ RSpec.describe Msf::Ui::Console::CommandDispatcher::Db do " -a,--add Add a note to the list of addresses, instead of listing", " -d,--delete Delete the hosts instead of searching", " -n,--note Set the data for a new note (only with -a)", - " -t Search for a list of types", + " -t,--type Search for a list of types, or set single type for add", " -h,--help Show this help information", " -R,--rhosts Set RHOSTS from the results of the search", - " -S,--search Regular expression to match for search", + " -S,--search Search string to filter by", " -o,--output Save the notes to a csv file", - " --sort Fields to sort by (case sensitive)", "Examples:", " notes --add -t apps -n 'winzip' 10.1.1.34 10.1.20.41", " notes -t smb.fingerprint 10.1.1.34 10.1.20.41", - " notes -S 'nmap.nse.(http|rtsp)' --sort type,output" + " notes -S 'nmap.nse.(http|rtsp)'" ] end