From: Guillaume Pellerin Date: Mon, 16 Jan 2023 17:02:32 +0000 (+0100) Subject: fix args again X-Git-Tag: 2.8.1-pro~46 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=faba7ff1856b673607442476475909cc114d56d1;p=teleforma.git fix args again --- diff --git a/teleforma/management/commands/teleforma-update-site.py b/teleforma/management/commands/teleforma-update-site.py index 2f73e82a..9f31f0b0 100644 --- a/teleforma/management/commands/teleforma-update-site.py +++ b/teleforma/management/commands/teleforma-update-site.py @@ -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', )