diff --git a/awx/main/management/commands/deprovision_instance.py b/awx/main/management/commands/deprovision_instance.py index 117c615db5..bd26bb74f0 100644 --- a/awx/main/management/commands/deprovision_instance.py +++ b/awx/main/management/commands/deprovision_instance.py @@ -17,6 +17,11 @@ class Command(BaseCommand): Deprovision a Tower cluster node """ + help = ( + 'Remove instance from the database. ' + 'Specify `--hostname` to use this command.' + ) + option_list = BaseCommand.option_list + ( make_option('--hostname', dest='hostname', type='string', help='Hostname used during provisioning'), diff --git a/awx/main/management/commands/provision_instance.py b/awx/main/management/commands/provision_instance.py index 98831dfb52..24aad2aebb 100644 --- a/awx/main/management/commands/provision_instance.py +++ b/awx/main/management/commands/provision_instance.py @@ -16,6 +16,11 @@ class Command(BaseCommand): Regsiter this instance with the database for HA tracking. """ + help = ( + 'Add instance to the database. ' + 'Specify `--hostname` to use this command.' + ) + option_list = BaseCommand.option_list + ( make_option('--hostname', dest='hostname', type='string', help='Hostname used during provisioning'),