Skip to content

Commit 74f811d

Browse files
committed
Add TODOs
1 parent 5bc3820 commit 74f811d

File tree

1 file changed

+3
-1
lines changed
  • lib/msf/ui/console/command_dispatcher

1 file changed

+3
-1
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1308,7 +1308,7 @@ def cmd_loot(*args)
13081308
types = typelist.strip().split(",")
13091309
when '-S', '--search'
13101310
search_term = args.shift
1311-
when '-u', '--update'
1311+
when '-u', '--update' # TODO: This is currently undocumented because it's not officially supported.
13121312
mode = :update
13131313
when '-h','--help'
13141314
cmd_loot_help
@@ -1378,6 +1378,8 @@ def cmd_loot(*args)
13781378
# )
13791379
# end
13801380
row = []
1381+
# TODO: This is just a temp implementation of update for the time being since it did not exist before.
1382+
# It should be updated to not pass all of the attributes attached to the object, only the ones being updated.
13811383
if mode == :update
13821384
begin
13831385
loot.info = info if info

0 commit comments

Comments
 (0)