Browse Source

Add documentation to the help command.

master
Alex Vallee 5 years ago
parent
commit
ccdb814d82
  1. 2
      findall.lua

2
findall.lua

@ -272,12 +272,14 @@ function print_help()
{ ' [!<character1> [!...]]', '- the names of the characters to exclude from the search.' }, { ' [!<character1> [!...]]', '- the names of the characters to exclude from the search.' },
{ ' [<query>]', '- the word you are looking for.' }, { ' [<query>]', '- the word you are looking for.' },
{ ' [-e<filename>|--export=<filename>]', '- exports the results to a csv file in the data folder.' }, { ' [-e<filename>|--export=<filename>]', '- exports the results to a csv file in the data folder.' },
{ '/findall duplicates', '- searches for items that exist in more than 1 container.' },
} }
local examples = { local examples = {
{ '/findall thaumas', '- Search for "thaumas" on all your characters.' }, { '/findall thaumas', '- Search for "thaumas" on all your characters.' },
{ '/findall :alpha :beta thaumas', '- Search for "thaumas" on "alpha" and "beta" characters.' }, { '/findall :alpha :beta thaumas', '- Search for "thaumas" on "alpha" and "beta" characters.' },
{ '/findall :omega', '- Show all the items stored on "omega".' }, { '/findall :omega', '- Show all the items stored on "omega".' },
{ '/findall !alpha thaumas', '- Search for "thaumas" on all your characters except "alpha".' }, { '/findall !alpha thaumas', '- Search for "thaumas" on all your characters except "alpha".' },
{ '/findall duplicates :alpha bolt', '- Search for "bolts" that exist in more than 1 storage area on character "alpha".' },
} }
print('\31\200[\31\05' .. _addon.name .. '\31\200]\30\01' .. ' Version ' .. _addon.version) print('\31\200[\31\05' .. _addon.name .. '\31\200]\30\01' .. ' Version ' .. _addon.version)

Loading…
Cancel
Save