Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#659636: settitle fails when -t contains a space

0 views
Skip to first unread message

Joey Hess

unread,
Feb 12, 2012, 1:00:02 PM2/12/12
to
Package: hpodder
Version: 1.1.5.0+nmu3
Severity: normal

joey@wren:~>hpodder settitle --help
...
You must specify one podcast ID with -c and the new title with -t.
If the title contains spaces, you must enclose it in quotes.
joey@wren:~>hpodder settitle -c 47 -t 'off the hook'
hpodder: user error (settitle: unrecognized arguments; see hpodder settitle --help)

I removed the space and it worked.
Quite possibly the documentation is just wrong and titles cannot have
spaces for some good reason.

-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (x86_64)

Kernel: Linux 3.2.0-1-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages hpodder depends on:
ii curl 7.24.0-1
ii id3v2 0.1.12-2
ii libc6 2.13-26
ii libffi5 3.0.10-3
ii libgmp10 2:5.0.3+dfsg-1
ii libsqlite3-0 3.7.9-2

hpodder recommends no packages.

hpodder suggests no packages.

-- no debconf information

--
see shy jo



--
To UNSUBSCRIBE, email to debian-bugs-...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org

John Goerzen

unread,
Feb 12, 2012, 11:50:01 PM2/12/12
to
That *should* work, and in fact, I know it used to.

I suspect maybe there was an API change to GetOpt.

Does it work with:

hpodder settitle -c 47 '--title=off the hook'

?

-- John

Joey Hess

unread,
Feb 13, 2012, 10:20:02 AM2/13/12
to
John Goerzen wrote:
> That *should* work, and in fact, I know it used to.
>
> I suspect maybe there was an API change to GetOpt.

I can confirm, GetOpt is not accepting spaces for short options, long
are ok.

--
see shy jo
signature.asc
0 new messages