! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
--help option after -x is handled by xfce terminal itself instead of passing ...
Status:
RESOLVED: FIXED
Product:
Xfce4-terminal
Component:
General

Comments

Description Yichao Yu 2012-07-27 19:40:27 CEST
`Terminal -H -x ls --help` will print helping message of xfce terminal instead of pop up a window showing ls's help.

According to manpage:
       -x, --execute
           Execute the remainder of the command line inside the terminal
This is not the expected behavior.
Comment 1 Mike Massonnet editbugs 2012-07-28 18:26:19 CEST
Hello Yichao,

If the documentation states -x should read all the rest of the command line for the command to execute than it's a bug indeed :) Meanwhile you can quote the command to execute with the -e flag, example:

Terminal -H -e 'ls --help'

Thanks for your report.

Regards,
Mike
Comment 2 Yichao Yu 2012-07-29 02:45:02 CEST
yep, I known that I can use the -e argument but if I would then need to quote/escape them (which is a pain although possible).

And (again, sorry), I am sure the document indicates that this shouldn't be the right behavior.

(p.s. thanks for all these wonderful/useful arguments!!)
Comment 3 Nick Schermer editbugs 2012-12-26 01:23:39 CET
Fixed in 8b517a3.

Bug #9167

Reported by:
Yichao Yu
Reported on: 2012-07-27
Last modified on: 2012-12-26

People

Assignee:
Nick Schermer
CC List:
1 user

Version

Version:
unspecified

Attachments

Additional information