summaryrefslogtreecommitdiffstats
path: root/ext-plugins/lib-general/formats/command.py
diff options
context:
space:
mode:
Diffstat (limited to 'ext-plugins/lib-general/formats/command.py')
-rw-r--r--ext-plugins/lib-general/formats/command.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/ext-plugins/lib-general/formats/command.py b/ext-plugins/lib-general/formats/command.py
index 3774cba..04a49ad 100644
--- a/ext-plugins/lib-general/formats/command.py
+++ b/ext-plugins/lib-general/formats/command.py
@@ -42,6 +42,9 @@ class command(SimpleFormat):
if acc:
ret.append(tuple(acc))
acc = [] if i is None else [i]
+ elif self._dict.get('magic_split', False):
+ acc.extend(i.split('::')) # magic "::"-split
+ merged.append(None)
else:
acc.append(i)
# expect that, by convention, option takes at most a single argument