mirror of
https://github.com/dkogan/feedgnuplot.git
synced 2025-08-08 13:06:38 +08:00
fixed regression to allow no given extracmds, histogram or y2 options
This commit is contained in:
parent
01de359dcd
commit
54f3751270
@ -120,7 +120,8 @@ sub interpretCommandline
|
||||
# expand options that are given as comma-separated lists
|
||||
for my $listkey (qw(extracmds histogram y2))
|
||||
{
|
||||
@{$options{$listkey}} = map split('\s*,\s*', $_), @{$options{$listkey}};
|
||||
@{$options{$listkey}} = map split('\s*,\s*', $_), @{$options{$listkey}}
|
||||
if defined $options{$listkey};
|
||||
}
|
||||
|
||||
# parse stream option. Allowed only numbers >= 0 or 'trigger'
|
||||
|
Loading…
Reference in New Issue
Block a user