[Bug-wget] short option for --content-disposition (feature request)

2016-01-03 Thread Hanno Böck
Hi,

I quite often use the --content-disposition command line option of wget.
It's a bit annoying to type in, but currently it seems there is no
short option for it.
Could such a short option be added?

c and d are already taken and I think also all other characters in
content disposition. So I'd like to propose to use -z or -y (just
because they're not used yet and easy to remember), but I'd be okay
with any other char.

-- 
Hanno Böck
http://hboeck.de/

mail/jabber: ha...@hboeck.de
GPG: BBB51E42


pgpBM8_Gu6vOU.pgp
Description: OpenPGP digital signature


Re: [Bug-wget] short option for --content-disposition (feature request)

2016-01-05 Thread Giuseppe Scrivano
Hanno Böck  writes:

> Hi,
>
> I quite often use the --content-disposition command line option of wget.
> It's a bit annoying to type in, but currently it seems there is no
> short option for it.
> Could such a short option be added?
>
> c and d are already taken and I think also all other characters in
> content disposition. So I'd like to propose to use -z or -y (just
> because they're not used yet and easy to remember), but I'd be okay
> with any other char.

you can shorten long command line options specifying only a prefix if it
doesn't collide with another one, in your case you can specify
--content-d (since wget has --content-on-error as well).

Regards,
Giuseppe



Re: [Bug-wget] short option for --content-disposition (feature request)

2016-01-12 Thread Ángel González

On 05/01/16 14:34, Giuseppe Scrivano wrote:

Hanno Böck  writes:


Hi,

I quite often use the --content-disposition command line option of wget.
It's a bit annoying to type in, but currently it seems there is no
short option for it.
Could such a short option be added?

c and d are already taken and I think also all other characters in
content disposition. So I'd like to propose to use -z or -y (just
because they're not used yet and easy to remember), but I'd be okay
with any other char.

you can shorten long command line options specifying only a prefix if it
doesn't collide with another one, in your case you can specify
--content-d (since wget has --content-on-error as well).

Regards,
Giuseppe

As well as being able to set an alias in your shell for wget

--content-disposition or even set that option in your wgetrc so it applies by 
default, which is probably what you want.