[GRASS-dev] [GRASS-SVN] r56452 - grass/trunk/scripts/g.extension

Martin Landa landa.martin at gmail.com
Tue May 28 05:28:32 PDT 2013


Hi,

2013/5/28  <svn_grass at osgeo.org>:
> 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


More information about the grass-dev mailing list