mirror of
https://github.com/dkogan/feedgnuplot.git
synced 2025-05-05 22:11:12 +08:00
--extracmds no longer accepts comma-separated lists
This caused issues with commands that had commas in them
This commit is contained in:
parent
116eb8fbc0
commit
ba4cc66fe8
@ -118,7 +118,7 @@ sub interpretCommandline
|
||||
$options->{curvestyleall} = '' unless defined $options->{curvestyleall};
|
||||
|
||||
# expand options that are given as comma-separated lists
|
||||
for my $listkey (qw(extracmds histogram y2))
|
||||
for my $listkey (qw(histogram y2))
|
||||
{
|
||||
@{$options{$listkey}} = map split('\s*,\s*', $_), @{$options{$listkey}}
|
||||
if defined $options{$listkey};
|
||||
|
@ -326,8 +326,7 @@ As an example, if line 3 of the input is "0 9 1 20"
|
||||
--curvestyleall xxx Additional styles for ALL curves.
|
||||
|
||||
--extracmds xxx Additional commands. These could contain extra global styles
|
||||
for instance. Can be passed multiple times, or passed a comma-
|
||||
separated list
|
||||
for instance. Can be passed multiple times.
|
||||
|
||||
--square Plot data with aspect ratio 1. For 3D plots, this controls the
|
||||
aspect ratio for all 3 axes
|
||||
|
Loading…
Reference in New Issue
Block a user