run_profile: Rename --keep to --profile-keep

This commit is contained in:
Florian Bruhin 2014-06-04 14:49:50 +02:00
parent 568ea37346
commit 05308a663a

View File

@ -14,8 +14,8 @@ import qutebrowser.qutebrowser # pylint: disable=unused-import
tempdir = mkdtemp()
if '--keep' in sys.argv:
sys.argv.remove('--keep')
if '--profile-keep' in sys.argv:
sys.argv.remove('--profile-keep')
profilefile = os.path.join(getcwd(), 'profile')
else:
profilefile = os.path.join(tempdir, 'profile')