update readme with config file available settings. support setting proxy from config file.

This commit is contained in:
Alan Hamlett 2015-02-12 18:36:14 -08:00
parent 48b8d72946
commit da74592ac4
2 changed files with 39 additions and 7 deletions

View file

@ -215,6 +215,8 @@ def parseArguments(argv):
args.offline = configs.getboolean('settings', 'offline')
if not args.hidefilenames and configs.has_option('settings', 'hidefilenames'):
args.hidefilenames = configs.getboolean('settings', 'hidefilenames')
if not args.proxy and configs.has_option('settings', 'proxy'):
args.proxy = configs.get('settings', 'proxy')
if not args.verbose and configs.has_option('settings', 'verbose'):
args.verbose = configs.getboolean('settings', 'verbose')
if not args.verbose and configs.has_option('settings', 'debug'):