]> git.parisson.com Git - teleforma.git/commitdiff
fix args again
authorGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Mon, 16 Jan 2023 17:02:32 +0000 (18:02 +0100)
committerGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Mon, 16 Jan 2023 17:02:32 +0000 (18:02 +0100)
teleforma/management/commands/teleforma-update-site.py

index 2f73e82ac97d435c022461fe9bf1de6eac3cab7b..9f31f0b0da27ba3e10eda07c4c35d916acefe667 100644 (file)
@@ -9,12 +9,12 @@ class Command(BaseCommand):
     def add_arguments(self, parser):
         parser.add_argument(
             '--from',
-            action='store_true',
+            type=str, required=True,
             help='from domain',
         )
         parser.add_argument(
             '--to',
-            action='store_true',
+            type=str, required=True,
             help='to domain',
         )