fix minor help formatting issues

Jira-Issue: OPENSTACK-687
This commit is contained in:
Steve Noyes 2016-02-26 16:26:42 -05:00 committed by Borne Mace
parent 6703068303
commit b4fb6b3706
8 changed files with 24 additions and 24 deletions

View File

@ -28,7 +28,7 @@ LOG = logging.getLogger(__name__)
class Deploy(Command):
"""Deploy"""
"""Deploy."""
def get_parser(self, prog_name):
parser = super(Deploy, self).get_parser(prog_name)
parser.add_argument('--hosts', nargs='?',
@ -73,7 +73,7 @@ class Deploy(Command):
class Setdeploy(Command):
"""Set deploy mode
"""Set deploy mode.
Set deploy mode to either local or remote. Local indicates
that the openstack deployment will be to the local host.

View File

@ -24,7 +24,7 @@ from cliff.lister import Lister
class GroupAdd(Command):
"""Add group to open-stack-kolla"""
"""Add group to openstack-kolla."""
def get_parser(self, prog_name):
parser = super(GroupAdd, self).get_parser(prog_name)
parser.add_argument('groupname', metavar='<groupname>',
@ -46,7 +46,7 @@ class GroupAdd(Command):
class GroupRemove(Command):
"""Remove group from openstack-kolla"""
"""Remove group from openstack-kolla."""
def get_parser(self, prog_name):
parser = super(GroupRemove, self).get_parser(prog_name)
@ -68,7 +68,7 @@ class GroupRemove(Command):
class GroupAddhost(Command):
"""Add host to group"""
"""Add host to group."""
def get_parser(self, prog_name):
parser = super(GroupAddhost, self).get_parser(prog_name)
parser.add_argument('groupname', metavar='<groupname>',
@ -93,7 +93,7 @@ class GroupAddhost(Command):
class GroupRemovehost(Command):
"""Remove host group from group"""
"""Remove host group from group."""
def get_parser(self, prog_name):
parser = super(GroupRemovehost, self).get_parser(prog_name)
@ -120,7 +120,7 @@ class GroupRemovehost(Command):
class GroupListhosts(Lister):
"""List all groups and their hosts"""
"""List all groups and their hosts."""
def take_action(self, parsed_args):
try:
@ -141,7 +141,7 @@ class GroupListhosts(Lister):
class GroupAddservice(Command):
"""Add service to group"""
"""Add service to group."""
def get_parser(self, prog_name):
parser = super(GroupAddservice, self).get_parser(prog_name)
parser.add_argument('groupname', metavar='<groupname>',
@ -167,7 +167,7 @@ class GroupAddservice(Command):
class GroupRemoveservice(Command):
"""Remove service group from group"""
"""Remove service group from group."""
def get_parser(self, prog_name):
parser = super(GroupRemoveservice, self).get_parser(prog_name)
@ -194,7 +194,7 @@ class GroupRemoveservice(Command):
class GroupListservices(Lister):
"""List all groups and their services"""
"""List all groups and their services."""
def take_action(self, parsed_args):
try:

View File

@ -40,7 +40,7 @@ def _host_not_found(hostname):
class HostAdd(Command):
"""Add host to open-stack-kolla"""
"""Add host to openstack-kolla."""
def get_parser(self, prog_name):
parser = super(HostAdd, self).get_parser(prog_name)
@ -63,7 +63,7 @@ class HostAdd(Command):
class HostDestroy(Command):
"""Destroy
"""Destroy.
Stops and removes all kolla related docker containers on either the
specified host or if no host is specified, on all hosts.
@ -103,7 +103,7 @@ class HostDestroy(Command):
class HostRemove(Command):
"""Remove host from openstack-kolla"""
"""Remove host from openstack-kolla."""
def get_parser(self, prog_name):
parser = super(HostRemove, self).get_parser(prog_name)
@ -125,7 +125,7 @@ class HostRemove(Command):
class HostList(Lister):
"""List hosts and their groups
"""List hosts and their groups.
If a hostname is provided, only list information about that host.
"""
@ -168,7 +168,7 @@ class HostList(Lister):
class HostCheck(Command):
"""Check configuration of host(s)"""
"""Check configuration of host(s)."""
def get_parser(self, prog_name):
parser = super(HostCheck, self).get_parser(prog_name)
@ -216,7 +216,7 @@ class HostCheck(Command):
class HostSetup(Command):
"""Setup openstack-kollacli on host"""
"""Setup openstack-kollacli on host."""
def get_parser(self, prog_name):
parser = super(HostSetup, self).get_parser(prog_name)

View File

@ -72,7 +72,7 @@ class PasswordClear(Command):
class PasswordList(Lister):
"""List all password names"""
"""List all password names."""
def take_action(self, parsed_args):
password_names = get_password_names()

View File

@ -143,7 +143,7 @@ class PropertyClear(Command):
class PropertyList(Lister):
"""List all properties"""
"""List all properties."""
def __init__(self, app, app_args, cmd_name=None):
super(Lister, self).__init__(app, app_args,

View File

@ -24,7 +24,7 @@ from cliff.lister import Lister
class ServiceAddGroup(Command):
"""Add group to service
"""Add group to service.
Associated the service to a group. If this is a sub-service,
the inherit flag will be cleared.
@ -57,7 +57,7 @@ class ServiceAddGroup(Command):
class ServiceRemoveGroup(Command):
"""Remove group from service"""
"""Remove group from service."""
def get_parser(self, prog_name):
parser = super(ServiceRemoveGroup, self).get_parser(prog_name)
@ -86,7 +86,7 @@ class ServiceRemoveGroup(Command):
class ServiceListGroups(Lister):
"""List services and their groups"""
"""List services and their groups."""
def take_action(self, parsed_args):
try:
@ -114,7 +114,7 @@ class ServiceListGroups(Lister):
class ServiceList(Lister):
"""List services and their sub-services"""
"""List services and their sub-services."""
def take_action(self, parsed_args):
try:

View File

@ -17,7 +17,7 @@ from cliff.command import Command
class Dump(Command):
"""Dumps configuration data for debugging
"""Dumps configuration data for debugging.
Dumps most files in /etc/kolla and /usr/share/kolla into a
tar file so be given to support / development to help with

View File

@ -22,7 +22,7 @@ LOG = logging.getLogger(__name__)
class Upgrade(Command):
"""Upgrade"""
"""Upgrade."""
def get_parser(self, prog_name):
parser = super(Upgrade, self).get_parser(prog_name)
return parser