def processArguments(argv)
super do
@opts.banner += "This program can be used to send out individual copies and a summary of all\naccepted time sheets a list of email addresses. The directory structures for\ntemplates and submitted time sheets must be present. The project data will be\naccesses via tj3client from a running TaskJuggler server process.\n"
@opts.on('-r', '--resource <ID>', String,
format('Only generate summary for given resource')) do |arg|
@resourceList << arg
end
@opts.on('-t', '--to <EMAIL>', String,
format('Send all individual reports and a summary report ' +
'to this email address')) do |arg|
@sheetRecipients << arg
@digestRecipients << arg
end
@opts.on('--sheet <EMAIL>', String,
format('Send all reports to this email address')) do |arg|
@sheetRecipients << arg
end
@opts.on('--digest <EMAIL>', String,
format('Send a summary report to this email address')) do |arg|
@digestRecipients << arg
end
optsEndDate
end
end