@@ -74,7 +74,7 @@ def get_options():
7474 "‘GEOFON’, ‘GEONET’, ‘GFZ’, ‘ICGC’, ‘IESDMC’, ‘INGV’, ‘IPGP’, ‘IRIS’, "
7575 "‘IRISPH5’, ‘ISC’, ‘KNMI’, ‘KOERI’, ‘LMU’, ‘NCEDC’, ‘NIEP’, ‘NOA’, "
7676 "‘NRCAN’, ‘ODC’, ‘ORFEUS’, ‘RASPISHAKE’, ‘RESIF’, ‘RESIFPH5’, ‘SCEDC’, "
77- "‘TEXNET’, ‘UIB-NORSAR’, ‘USGS’, ‘USP’) [Default IRIS]" ))
77+ "‘TEXNET’, ‘UIB-NORSAR’, ‘USGS’, ‘USP’). [Default IRIS]" ))
7878 ServerGroup .add_option ("--user-auth" , action = "store" , type = str ,
7979 dest = "userauth" , default = None , help = ("Enter your Authentification "
8080 "Username and Password (--user-auth='username:authpassword') to access "
@@ -85,7 +85,7 @@ def get_options():
8585 "If a token is provided, argument --user-auth will be ignored. "
8686 "This mechanism is only available on select EIDA nodes. The token can "
8787 "be provided in form of the PGP message as a string, or the filename of "
88- "a local file with the PGP message in it." )
88+ "a local file with the PGP message in it. [Default None] " )
8989
9090 # Selection Settings
9191 SelectGroup = OptionGroup (parser , title = "Channel Priority/Selection Settings" ,
@@ -223,7 +223,7 @@ def get_options():
223223 if not len (tt ) == 2 :
224224 msg = ("Error: Incorrect Username and Password Strings for User "
225225 "Authentification" )
226- parser .errer (msg )
226+ parser .error (msg )
227227 else :
228228 opts .userauth = tt
229229 else :
@@ -369,7 +369,7 @@ def main(args=None):
369369 stdout .writelines ("Initializing Client ({0:s})..." .format (opts .server ))
370370
371371 client = Client (
372- opts .server ,
372+ base_url = opts .server ,
373373 user = opts .userauth [0 ],
374374 password = opts .userauth [1 ],
375375 eida_token = opts .tokenfile )
0 commit comments