mirror of
https://github.com/ansible/awx.git
synced 2026-05-16 13:57:39 -02:30
Merge pull request #10294 from kdelee/clarify_help_msg
clarify format of date for host_metric SUMMARY @amolgautam25 @AlanCoding let me know what you think -- I was taking a second look at the CLI and took me a bit to remember the format it wants is YYYY-MM-DD Reviewed-by: Alan Rominger <arominge@redhat.com> Reviewed-by: Amol Gautam <amol_gautam25@yahoo.co.in>
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