269: Renamed print_api command to show_plugins

This commit is contained in:
Jason Gerard DeRose 2008-09-08 21:42:48 +00:00
parent 7d3d607b55
commit 03fd184e8e

View File

@ -68,7 +68,7 @@ class console(public.Application):
local=dict(api=self.api) local=dict(api=self.api)
) )
class print_api(public.Application): class show_plugins(public.Application):
'Print details on the loaded plugins.' 'Print details on the loaded plugins.'
def __call__(self): def __call__(self):
@ -161,7 +161,7 @@ class CLI(object):
api = self.api api = self.api
api.register(help) api.register(help)
api.register(console) api.register(console)
api.register(print_api) api.register(show_plugins)
api.finalize() api.finalize()
for a in api.Application(): for a in api.Application():
a.set_application(self) a.set_application(self)