summaryrefslogtreecommitdiff
path: root/qutebrowser/qutebrowser.py
diff options
context:
space:
mode:
authorPol Van Aubel <github@polvanaubel.com>2018-05-07 21:52:38 +0200
committerPol Van Aubel <dev@polvanaubel.com>2018-05-07 22:10:08 +0200
commit431a52da6c72d1a106f7cb6f92c74a0b816f3094 (patch)
treec46a242fbba7fdc6c666737558494f02606fdc48 /qutebrowser/qutebrowser.py
parentb9fc068af58098ac7f967c712850e468bf3b5386 (diff)
downloadqutebrowser-431a52da6c72d1a106f7cb6f92c74a0b816f3094.tar.gz
qutebrowser-431a52da6c72d1a106f7cb6f92c74a0b816f3094.zip
Short options for --basedir and --temp-basedir
Diffstat (limited to 'qutebrowser/qutebrowser.py')
-rw-r--r--qutebrowser/qutebrowser.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/qutebrowser/qutebrowser.py b/qutebrowser/qutebrowser.py
index e532c24d0..5b5b86eae 100644
--- a/qutebrowser/qutebrowser.py
+++ b/qutebrowser/qutebrowser.py
@@ -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. "