list dialog: double dash (--) is treated as a cell value
On stable (3.44.0)
When using --list
, Zenity has problems handling cell values starting with -
. Passing --
to stop option parsing achieves the desired effect (all subsequent parameters are treated as positional), but this affects the --
itself as well! (Indeed, this results in an extra cell containing text “--”.)
$ zenity --list --column=foo --column=bar -1 +2 -3 +4
This option is not available. Please see --help for all possible usages.
$ zenity --list --column=foo --column=bar -- -1 +2 -3 +4