]> git.parisson.com Git - teleforma.git/commitdiff
Moved logfile argument to --logfile
authorGael Le Mignot <gael@pilotsystems.net>
Tue, 28 Jun 2022 08:03:43 +0000 (10:03 +0200)
committerGael Le Mignot <gael@pilotsystems.net>
Tue, 28 Jun 2022 08:03:43 +0000 (10:03 +0200)
teleforma/management/commands/teleforma-message-all-seminar-users.py
teleforma/management/commands/teleforma-revisions-from-bbb.py

index ef83d227cec7f2dd5984395652fe9fe17bdb1ea9..9a5fcb4e99e393d07bd2a2924a6fd51543f90db6 100644 (file)
@@ -23,7 +23,7 @@ class Command(BaseCommand):
     def add_arguments(self, parser):
         parser.add_argument('days', type=int,
                             help='number of days')
-        parser.add_argument('logfile', type=str, 
+        parser.add_argument('--logfile', type=str, required=True,
                             help='log file to use')
 
     def log(self, msg):
index a1e2d5e8e9028314519c1b609ba131d06de316ee..a25ad571f74139425dfc5783f3b0503349545fc1 100644 (file)
@@ -21,7 +21,7 @@ class Command(BaseCommand):
     def add_arguments(self, parser):
         parser.add_argument('duration', type=int,
                             help='duration in seconds')
-        parser.add_argument('logfile', type=str, 
+        parser.add_argument('--logfile', type=str, required=True,
                             help='log file to use')