mirror of
https://github.com/ansible/awx.git
synced 2026-03-22 11:25:08 -02:30
clarify format of date for host_metric
This commit is contained in:
@@ -10,8 +10,8 @@ class Command(BaseCommand):
|
|||||||
help = 'This is for offline licensing usage'
|
help = 'This is for offline licensing usage'
|
||||||
|
|
||||||
def add_arguments(self, parser):
|
def add_arguments(self, parser):
|
||||||
parser.add_argument('--since', type=datetime.datetime.fromisoformat, help='Start Date in ISO format')
|
parser.add_argument('--since', type=datetime.datetime.fromisoformat, help='Start Date in ISO format YYYY-MM-DD')
|
||||||
parser.add_argument('--until', type=datetime.datetime.fromisoformat, help='End Date in ISO format')
|
parser.add_argument('--until', type=datetime.datetime.fromisoformat, help='End Date in ISO format YYYY-MM-DD')
|
||||||
parser.add_argument('--json', action='store_true', help='Select output as JSON')
|
parser.add_argument('--json', action='store_true', help='Select output as JSON')
|
||||||
|
|
||||||
def handle(self, *args, **options):
|
def handle(self, *args, **options):
|
||||||
|
|||||||
Reference in New Issue
Block a user