mirror of
https://github.com/virt-manager/virt-manager.git
synced 2024-12-23 17:34:21 +03:00
cli: unify tag style
Unify tag style, looks a little better. Signed-off-by: Chen Hanxiao <chenhanxiao@cn.fujitsu.com>
This commit is contained in:
parent
55d5b35e50
commit
155bd7da8f
@ -187,9 +187,9 @@ def setupLogging(appname, debug_stdout, do_quiet, cli_app=True):
|
||||
logging.debug("Launched with command line: %s", " ".join(sys.argv))
|
||||
|
||||
|
||||
#######################################
|
||||
# Libvirt connection helpers #
|
||||
#######################################
|
||||
##############################
|
||||
# Libvirt connection helpers #
|
||||
##############################
|
||||
|
||||
def getConnection(uri):
|
||||
logging.debug("Requesting libvirt URI %s", (uri or "default"))
|
||||
@ -548,9 +548,9 @@ def set_os_variant(obj, distro_type, distro_variant):
|
||||
obj.os_variant = distkey
|
||||
|
||||
|
||||
#############################
|
||||
# Common CLI option/group #
|
||||
#############################
|
||||
###########################
|
||||
# Common CLI option/group #
|
||||
###########################
|
||||
|
||||
def add_connect_option(parser, invoker=None):
|
||||
if invoker == "virt-xml":
|
||||
@ -1413,9 +1413,9 @@ class ParserBoot(VirtCLIParser):
|
||||
VirtCLIParser._parse(self, opts, inst)
|
||||
|
||||
|
||||
######################
|
||||
# --idmap parsing #
|
||||
######################
|
||||
###################
|
||||
# --idmap parsing #
|
||||
###################
|
||||
|
||||
class ParserIdmap(VirtCLIParser):
|
||||
def _init_params(self):
|
||||
@ -2129,9 +2129,9 @@ class ParserSound(VirtCLIParser):
|
||||
return VirtCLIParser._parse(self, opts, inst)
|
||||
|
||||
|
||||
#####################
|
||||
#########################
|
||||
# --host-device parsing #
|
||||
#####################
|
||||
#########################
|
||||
|
||||
class ParserHostdev(VirtCLIParser):
|
||||
def _init_params(self):
|
||||
|
Loading…
Reference in New Issue
Block a user