From ba4cc66fe8b718ff0cff7e56c81e1035d6a06843 Mon Sep 17 00:00:00 2001 From: Dima Kogan Date: Mon, 24 Sep 2012 17:44:40 -0700 Subject: [PATCH] --extracmds no longer accepts comma-separated lists This caused issues with commands that had commas in them --- bin/feedgnuplot | 2 +- bin/feedgnuplot.pod | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/bin/feedgnuplot b/bin/feedgnuplot index 84ba483..71ae4ae 100755 --- a/bin/feedgnuplot +++ b/bin/feedgnuplot @@ -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}; diff --git a/bin/feedgnuplot.pod b/bin/feedgnuplot.pod index fe18551..f86fd4c 100644 --- a/bin/feedgnuplot.pod +++ b/bin/feedgnuplot.pod @@ -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