@@ -975,12 +975,15 @@ def cmd_notes(*args)
975
975
end
976
976
977
977
def cmd_loot_help
978
- print_line "Usage: loot [-h] [addr1 addr2 ...] [-t <type1,type2>]"
978
+ print_line "Usage: loot <options>"
979
+ print_line " Info: loot [-h] [addr1 addr2 ...] [-t <type1,type2>]"
980
+ print_line " Add: loot -f [fname] -i [info] -a [addr1 addr2 ...] [-t [type]"
981
+ print_line " Del: loot -d [addr1 addr2 ...]"
979
982
print_line
980
- print_line " -a,--add Add a loot to the list of addresses, instead of listing"
981
- print_line " -d,--delete Delete *all* the loot associated with hosts, instead of searching "
982
- print_line " -f --file File with contents of the loot to add"
983
- print_line " -i --info Info of the loot to add"
983
+ print_line " -a,--add Add loot to the list of addresses, instead of listing"
984
+ print_line " -d,--delete Delete *all* loot matching host and type "
985
+ print_line " -f, --file File with contents of the loot to add"
986
+ print_line " -i, --info Info of the loot to add"
984
987
print_line " -t <type1,type2> Search for a list of types"
985
988
print_line " -h,--help Show this help information"
986
989
print_line " -S,--search Search string to filter by"
@@ -1059,7 +1062,7 @@ def cmd_loot(*args)
1059
1062
return
1060
1063
end
1061
1064
if types . nil? or types . size != 1
1062
- print_error ( "Exactly one note type is required" )
1065
+ print_error ( "Exactly one loot type is required" )
1063
1066
return
1064
1067
end
1065
1068
type = types . first
0 commit comments