desc "Send a test email to the user with the provided login name"\r
task :test, :login, :needs => :environment do |task, args|\r
include Redmine::I18n\r
- abort l(:notice_email_error, "Please include the user login to test with. Example: login=examle-login") if args[:login].blank?\r
+ abort l(:notice_email_error, "Please include the user login to test with. Example: rake redmine:email:test[login]") if args[:login].blank?\r
\r
user = User.find_by_login(args[:login])\r
abort l(:notice_email_error, "User #{args[:login]} not found") unless user.logged?\r