Browse Source

Report not Dump

Ask Solem 16 years ago
parent
commit
da5f207a40
1 changed files with 3 additions and 2 deletions
  1. 3 2
      celery/management/commands/celerystats.py

+ 3 - 2
celery/management/commands/celerystats.py

@@ -10,11 +10,12 @@ from celery.monitoring import StatsCollector
 class Command(BaseCommand):
     """Run the celery daemon."""
     option_list = BaseCommand.option_list
-    help = 'Dump and flush the currently available statistics'
+    help = "Collect/flush and dump a report from the currently available "
+           "statistics"
 
     def handle(self, *args, **options):
         """Handle the management command."""
         stats = StatsCollector()
         print("* Gathering statistics...")
         stats.collect()
-        stats.dump()
+        stats.report()