about summary refs log tree commit diff
path: root/main.go
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2018-06-21T11·55+0200
committerVincent Ambo <github@tazj.in>2018-06-21T12·07+0200
commit92c5c846e2ce19c4c46a70a36c533245538c2dd3 (patch)
treeda2ff59a18e989466fcd68c937b5263502798bf5 /main.go
parent01f771fa2fb19ae6ca365c9d08000a81a266d609 (diff)
fix(context): Use SplitN to split CLI variable specifications
In some cases the value of a variable may contain an equals sign,
which would not work in the previous version.

This uses `SplitN` to split the variable specifier into a
pre-determined number (2) of sub-slices. Further `=`-symbols will then
be included in the second substring.
Diffstat (limited to 'main.go')
0 files changed, 0 insertions, 0 deletions