04_help_long_pos.py

来自「xen 3.2.2 源码」· Python 代码 · 共 17 行

PY
17
字号
#!/usr/bin/python# Copyright (C) International Business Machines Corp., 2005# Author: Li Ge <lge@us.ibm.com>import refrom XmTestLib import *status, output = traceCommand("xm help --long")#print outputeyecatcher = "xm full list of subcommands:"where = output.find(eyecatcher)if where == -1:    FAIL("xm help --long failed to show long listing")

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?