server/serverctl.py
changeset 7669 b96c41c6de4d
parent 7595 83872394b5d9
child 7764 c709f6c457ff
equal deleted inserted replaced
7668:b2fa3d89ed89 7669:b96c41c6de4d
   565     <instance>
   565     <instance>
   566       the identifier of the instance
   566       the identifier of the instance
   567     """
   567     """
   568     name = 'reset-admin-pwd'
   568     name = 'reset-admin-pwd'
   569     arguments = '<instance>'
   569     arguments = '<instance>'
       
   570     min_args = max_args = 1
   570     options = (
   571     options = (
   571         ('password',
   572         ('password',
   572          {'short': 'p', 'type' : 'string', 'metavar' : '<new-password>',
   573          {'short': 'p', 'type' : 'string', 'metavar' : '<new-password>',
   573           'default' : None,
   574           'default' : None,
   574           'help': 'Use this password instead of prompt for one.\n'
   575           'help': 'Use this password instead of prompt for one.\n'