diff options
author | Wolfgang Müller | 2021-05-05 17:31:37 +0200 |
---|---|---|
committer | Wolfgang Müller | 2021-05-05 17:31:37 +0200 |
commit | 5765046fc529ea2c76fdafb676e31e96524bdd7c (patch) | |
tree | d077051d34bbe543f34363df4cd1933e1c9b2ec7 /poetry.lock | |
parent | 517458eeb9c7e1f3c41d8071978e48bc9822a1b2 (diff) | |
download | quarg-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 'poetry.lock')
0 files changed, 0 insertions, 0 deletions