man page shows wrong syntax for irc:// URLs

Bug #618515 reported by Daniel González Gasull on 2010-08-16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
xchat (Ubuntu)

Bug Description

Binary package hint: xchat

man xchat displays wrong information about how to open a irc:// URL. According to the man page it should be, e.g.:

xchat -e irc://

but the correct syntax is

xchat -e --url=irc://

Just for the sake of testing the error, the right URL above is irc://

So, again. The syntax according to the man page:

xchat -e irc://

The right syntax:

xchat -e --url=irc://

Vallery Lancey (muscovy) wrote :

Both commands work fine for me (10.04). By right, do you mean the -e one opens in an existing window?

The result for me when running

xchat -e irc://

is that it opens xchat in a new instance and it doesn't open the channel #xchat.

Matt Fischer (mfisch) wrote :

Ditto what Daniel said. In order to get it in the same window -e --url is the proper syntax. I will write up a patch.

Changed in xchat (Ubuntu):
status: New → Confirmed
Vallery Lancey (muscovy) on 2010-08-17
Changed in xchat (Ubuntu):
status: Confirmed → In Progress
Matt Fischer (mfisch) wrote :

I've been thinking about this more and although I can certainly fix the manpage, I'm wondering if this is a bug in the software? Why would -e not work as expected without --url=?

Brian (lifeispain) wrote :

-e can also be used in conjunction with -c/--command, so -e does not in and of itself imply the param should be a url, hence the need for --url

Matt Fischer (mfisch) wrote :

I adjusted the manpage with the attached patch. I'm not 100% sure that I did the patch correctly, but it did apply cleanly for me with a dry-run done afterwards.

tags: added: patch
Matt Fischer (mfisch) on 2012-03-02
Changed in xchat (Ubuntu):
importance: Undecided → Low
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers