mirror of
https://github.com/dkogan/feedgnuplot.git
synced 2025-05-06 06:21:16 +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};
|
$options->{curvestyleall} = '' unless defined $options->{curvestyleall};
|
||||||
|
|
||||||
# expand options that are given as comma-separated lists
|
# 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}}
|
@{$options{$listkey}} = map split('\s*,\s*', $_), @{$options{$listkey}}
|
||||||
if defined $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.
|
--curvestyleall xxx Additional styles for ALL curves.
|
||||||
|
|
||||||
--extracmds xxx Additional commands. These could contain extra global styles
|
--extracmds xxx Additional commands. These could contain extra global styles
|
||||||
for instance. Can be passed multiple times, or passed a comma-
|
for instance. Can be passed multiple times.
|
||||||
separated list
|
|
||||||
|
|
||||||
--square Plot data with aspect ratio 1. For 3D plots, this controls the
|
--square Plot data with aspect ratio 1. For 3D plots, this controls the
|
||||||
aspect ratio for all 3 axes
|
aspect ratio for all 3 axes
|
||||||
|
Loading…
Reference in New Issue
Block a user