Use the proper set of arguments in docs loader

We parsed it out using the options parser, but then when using it
required a hardcoded order on the commandline. That made no sense...
This commit is contained in:
Magnus Hagander
2022-06-20 20:30:55 +02:00
parent 4805b4bccb
commit e9f4454444

View File

@ -117,8 +117,8 @@ if verbose and quiet:
print("Can't be both verbose and quiet at the same time!")
sys.exit(1)
ver = sys.argv[1]
tarfilename = sys.argv[2]
ver = args[0]
tarfilename = args[1]
# load the configuration that is used to connect to the database
config = ConfigParser()