mirror of
https://github.com/ansible/awx.git
synced 2026-09-05 03:18:29 -02:30
Fix mgmt cmds, use real types not strings
This commit is contained in:
@@ -32,7 +32,7 @@ class Command(BaseCommand):
|
||||
help = 'Remove old jobs, project and inventory updates from the database.'
|
||||
|
||||
def add_arguments(self, parser):
|
||||
parser.add_argument('--days', dest='days', type='int', default=90, metavar='N',
|
||||
parser.add_argument('--days', dest='days', type=int, default=90, metavar='N',
|
||||
help='Remove jobs/updates executed more than N days ago. Defaults to 90.')
|
||||
parser.add_argument('--dry-run', dest='dry_run', action='store_true',
|
||||
default=False, help='Dry run mode (show items that would '
|
||||
|
||||
Reference in New Issue
Block a user