Commit 8d51bb9
committed
fix: apply SliceFlagSeparator to env var sources
SliceFlagSeparator was ignored when a flag's value came from an
environment variable. The separator config was only applied during
CLI argument parsing (via cmd.set), but PostParse—which handles
env var sources—never called setMultiValueParsingConfig.
Fixes #22621 parent a9261cf commit 8d51bb9
2 files changed
+19
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
213 | 213 | | |
214 | 214 | | |
215 | 215 | | |
| 216 | + | |
216 | 217 | | |
217 | 218 | | |
218 | 219 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4590 | 4590 | | |
4591 | 4591 | | |
4592 | 4592 | | |
| 4593 | + | |
| 4594 | + | |
| 4595 | + | |
| 4596 | + | |
| 4597 | + | |
| 4598 | + | |
| 4599 | + | |
| 4600 | + | |
| 4601 | + | |
| 4602 | + | |
| 4603 | + | |
| 4604 | + | |
| 4605 | + | |
| 4606 | + | |
| 4607 | + | |
| 4608 | + | |
| 4609 | + | |
| 4610 | + | |
4593 | 4611 | | |
4594 | 4612 | | |
4595 | 4613 | | |
| |||
0 commit comments