mirror of
https://github.com/postgres/pgweb.git
synced 2025-08-13 13:12:42 +00:00
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:
@ -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()
|
||||
|
Reference in New Issue
Block a user