mirror of
https://github.com/ansible/awx.git
synced 2026-01-12 18:40:01 -03:30
added documentation to command: tower-manage register_instance --help
This commit is contained in:
parent
ad84fb4259
commit
f2c9dcd173
@ -27,10 +27,24 @@ class Command(BaseCommand):
|
||||
existing registration plus `--timid`.
|
||||
"""
|
||||
option_list = BaseCommand.option_list + (
|
||||
make_option('--timid', action='store_true', dest='timid'),
|
||||
make_option('--hostname', dest='hostname', default=''),
|
||||
make_option('--primary', action='store_true', dest='primary'),
|
||||
make_option('--secondary', action='store_false', dest='primary'),
|
||||
make_option('--timid',
|
||||
action='store_true',
|
||||
dest='timid',
|
||||
help='Fail if the primary host specified is already registered as '
|
||||
'another instance or there already exists a primary different '
|
||||
'from the one specified.'),
|
||||
make_option('--hostname',
|
||||
dest='hostname',
|
||||
default='',
|
||||
help='instance to register'),
|
||||
make_option('--primary',
|
||||
action='store_true',
|
||||
dest='primary',
|
||||
help='register instance as primary'),
|
||||
make_option('--secondary',
|
||||
action='store_false',
|
||||
dest='primary',
|
||||
help='register instance as secondary'),
|
||||
)
|
||||
|
||||
def handle(self, **options):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user