Improve --qt-arg docs
This commit is contained in:
parent
8d7fcf41da
commit
d1154759d1
@ -102,8 +102,8 @@ show it.
|
|||||||
*--no-err-windows*::
|
*--no-err-windows*::
|
||||||
Don't show any error windows (used for tests/smoke.py).
|
Don't show any error windows (used for tests/smoke.py).
|
||||||
|
|
||||||
*--qt-arg* 'QT_ARG'::
|
*--qt-arg* 'NAME' 'VALUE'::
|
||||||
Pass an argument with a value to Qt.
|
Pass an argument with a value to Qt. For example, you can do `--qt-arg geometry 650x555+200+300` to set the window geometry.
|
||||||
|
|
||||||
*--qt-flag* 'QT_FLAG'::
|
*--qt-flag* 'QT_FLAG'::
|
||||||
Pass an argument to Qt as flag.
|
Pass an argument to Qt as flag.
|
||||||
|
@ -105,8 +105,10 @@ def get_argparser():
|
|||||||
"temporary basedir.")
|
"temporary basedir.")
|
||||||
debug.add_argument('--no-err-windows', action='store_true', help="Don't "
|
debug.add_argument('--no-err-windows', action='store_true', help="Don't "
|
||||||
"show any error windows (used for tests/smoke.py).")
|
"show any error windows (used for tests/smoke.py).")
|
||||||
debug.add_argument('--qt-arg', help="Pass an argument with a value to Qt.",
|
debug.add_argument('--qt-arg', help="Pass an argument with a value to Qt. "
|
||||||
nargs=2)
|
"For example, you can do "
|
||||||
|
"`--qt-arg geometry 650x555+200+300` to set the window "
|
||||||
|
"geometry.", nargs=2, metavar=('NAME', 'VALUE'))
|
||||||
debug.add_argument('--qt-flag', help="Pass an argument to Qt as flag.",
|
debug.add_argument('--qt-flag', help="Pass an argument to Qt as flag.",
|
||||||
nargs=1)
|
nargs=1)
|
||||||
parser.add_argument('command', nargs='*', help="Commands to execute on "
|
parser.add_argument('command', nargs='*', help="Commands to execute on "
|
||||||
|
Loading…
Reference in New Issue
Block a user