merged main branch
This commit is contained in:
commit
a28bb7be8f
1 changed files with 323 additions and 35 deletions
|
|
@ -105,14 +105,13 @@ class ProfileInfo(base.CommandBase):
|
|||
|
||||
class ProfileList(base.CommandBase):
|
||||
def __init__(self, host):
|
||||
super(ProfileList, self).__init__(host, 'list', use_profile=False, help=_('list profiles'))
|
||||
super(ProfileList, self).__init__(host, 'list', use_profile=False, use_output='list', help=_('list profiles'))
|
||||
|
||||
def add_parser_options(self):
|
||||
pass
|
||||
|
||||
def start(self):
|
||||
for profile in self.host.bridge.getProfilesList():
|
||||
print profile
|
||||
self.output(self.host.bridge.getProfilesList())
|
||||
|
||||
|
||||
class ProfileCreate(base.CommandBase):
|
||||
|
|
|
|||
Loading…
Reference in a new issue