nsresult rv;
EnumerateHandlers(EnumRun, &aResult);
nsCommandLine::GetHelpText(nsACString& aResult){  nsresult rv;  nsCOMPtr<nsICategoryManager> catman    (do_GetService(NS_CATEGORYMANAGER_CONTRACTID));  NS_ENSURE_TRUE(catman, NS_ERROR_UNEXPECTED);  nsCStringArray handlers;  rv = getHandlers(handlers, catman);  NS_ENSURE_SUCCESS(rv, rv);  HelpClosure closure (aResult, catman);  handlers.EnumerateForwards(EnumHelp, &closure);  return NS_OK;}