Replies: 1 comment
-
Mmm ok, so I implemented the tl;dr it looks like an issue with the The way Line 94 in c8147a4 This behavior seems silly, but I'm guessing it was added due to the "append" behavior of the (base) flag.Value.Set implementations, used for all the slice flags.
Anyhow, on closer inspection, it looks like it probably doesn't work properly for the |
Beta Was this translation helpful? Give feedback.
-
Is it possible to read with
altsrc
theMultiStringFlag
value to a destination?My destination is
[]string
, so I wrappedStringSliceFlag
withMultiStringFlag
.There is no dedicated function in
altsrc
forMultiStringFlag
and setting it withaltsrc.NewStringSliceFlag(NetworkPeersFlag.Target)
doesn't work.Beta Was this translation helpful? Give feedback.
All reactions