Normally, the correct way is to use the --
to denote the end of the options. But there is a bug that prevents you from doing that (missing lrange
).
The correct way to do that is:
struct::list flatten -full -- {-1587.500000 {} 1587.500000}
But this does not work because struct
has a bug.
If you want to fix it, open the package file for struct::list
, you can get the filename with
package ifneeded struct::list [package require struct::list]
Then edit the proc ::struct::list::Lflatten
.
Change the line with
-- {break}
to
-- {set args [::lrange $args 1 end];break}
Anyway, I suggest filling a bug record.