What about using two option: proxy_url
proxy_type (ftp/http/https) this would be one option less... Cheers Stefan -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Martin Landa Sent: 28. mai 2013 14:29 To: Pietro Zambelli Cc: GRASS developers list Subject: Re: [GRASS-dev] [GRASS-SVN] r56452 - grass/trunk/scripts/g.extension Hi, 2013/5/28 <[email protected]>: > Author: zarch > Date: 2013-05-28 05:07:34 -0700 (Tue, 28 May 2013) New Revision: 56452 > > Modified: > grass/trunk/scripts/g.extension/g.extension.py > Log: > Add proxy support. > @@ -55,6 +55,27 @@ > #% answer: $GRASS_ADDON_BASE > #% required: no > #%end > +#%option > +#% key: http_proxy > +#% type: string > +#% key_desc: http proxy > +#% description: Set the http proxy > +#% required: no > +#%end > +#%option > +#% key: https_proxy > +#% type: string > +#% key_desc: https proxy > +#% description: Set the https proxy > +#% required: no > +#%end > +#%option > +#% key: ftp_proxy > +#% type: string > +#% key_desc: ftp proxy > +#% description: Set the ftp proxy > +#% required: no > +#%end any idea how to minimize number of newly added parameters? Thanks, Martin _______________________________________________ grass-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-dev _______________________________________________ grass-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-dev
