Short options for --basedir and --temp-basedir
This commit is contained in:
parent
b9fc068af5
commit
431a52da6c
@ -38,7 +38,7 @@ show it.
|
||||
*-h*, *--help*::
|
||||
show this help message and exit
|
||||
|
||||
*--basedir* 'BASEDIR'::
|
||||
*-B*, *--basedir* 'BASEDIR'::
|
||||
Base directory for all storage.
|
||||
|
||||
*-V*, *--version*::
|
||||
@ -87,7 +87,7 @@ show it.
|
||||
*--nowindow*::
|
||||
Don't show the main window.
|
||||
|
||||
*--temp-basedir*::
|
||||
*-T*, *--temp-basedir*::
|
||||
Use a temporary basedir.
|
||||
|
||||
*--no-err-windows*::
|
||||
|
@ -61,7 +61,8 @@ def get_argparser():
|
||||
"""Get the argparse parser."""
|
||||
parser = argparse.ArgumentParser(prog='qutebrowser',
|
||||
description=qutebrowser.__description__)
|
||||
parser.add_argument('--basedir', help="Base directory for all storage.")
|
||||
parser.add_argument('-B', '--basedir', help="Base directory for all "
|
||||
"storage.")
|
||||
parser.add_argument('-V', '--version', help="Show version and quit.",
|
||||
action='store_true')
|
||||
parser.add_argument('-s', '--set', help="Set a temporary setting for "
|
||||
@ -112,8 +113,8 @@ def get_argparser():
|
||||
action='store_true')
|
||||
debug.add_argument('--nowindow', action='store_true', help="Don't show "
|
||||
"the main window.")
|
||||
debug.add_argument('--temp-basedir', action='store_true', help="Use a "
|
||||
"temporary basedir.")
|
||||
debug.add_argument('-T', '--temp-basedir', action='store_true', help="Use "
|
||||
"a temporary basedir.")
|
||||
debug.add_argument('--no-err-windows', action='store_true', help="Don't "
|
||||
"show any error windows (used for tests/smoke.py).")
|
||||
debug.add_argument('--qt-arg', help="Pass an argument with a value to Qt. "
|
||||
|
Loading…
Reference in New Issue
Block a user