aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/setup.py
diff options
context:
space:
mode:
authorWolfgang Müller2021-05-05 17:31:37 +0200
committerWolfgang Müller2021-05-05 17:31:37 +0200
commit5765046fc529ea2c76fdafb676e31e96524bdd7c (patch)
treed077051d34bbe543f34363df4cd1933e1c9b2ec7 /setup.py
parent517458eeb9c7e1f3c41d8071978e48bc9822a1b2 (diff)
downloadquarg-5765046fc529ea2c76fdafb676e31e96524bdd7c.tar.gz
main: Make sure to parse arguments before reading config
If quarg is unable to find the database URL, it immediately exits with an error message. This happens before parsing any arguments given on the command line, meaning that users cannot access the built-in help page if they have not yet created a config file. This commit makes sure that command line arguments are parsed before checking the config file so that --help can be used even without a config file.
Diffstat (limited to 'setup.py')
0 files changed, 0 insertions, 0 deletions