** Changed in: zenity (Debian)
Status: Unknown => Confirmed
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to zenity in Ubuntu.
https://bugs.launchpad.net/bugs/537371
Title:
values for zenity --list cannot begin with a dash (-)
Status in Zenity:
New
Status in “zenity” package in Ubuntu:
Triaged
Status in “zenity” package in Debian:
Confirmed
Bug description:
Binary package hint: zenity
lsb_release -rd
Description: Ubuntu 9.10
Release: 9.10
zenity --version
2.28.0
apt-cache policy zenity
zenity:
Installed: 2.28.0-0ubuntu2
Candidate: 2.28.0-0ubuntu2
Version table:
*** 2.28.0-0ubuntu2 0
500 http://be.archive.ubuntu.com karmic/main Packages
100 /var/lib/dpkg/status
to reproduce:
zenity --list --column flags "-foo" "-bar"
This option is not available. Please see --help for all possible usages.
workaround:
You can work around it by adding a space in front (but then the space becomes
part of the selected value, so you should remove the space later)
zenity --list --column flags " -foo" " -bar"
suggested solution:
commands like 'cp', 'rm' and many more use the convention that everything
after "--" is interpreted literally (no more flags). If zenity also did this
you could write
zenity --list --column flags -- -foo -bar
(Other software requires you to write -- before every argument that needs
escaping. e.g. zenity --list --column flags -- -foo -- -bar)
To manage notifications about this bug go to:
https://bugs.launchpad.net/zenity/+bug/537371/+subscriptions
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp