From 8d25e6490a481dcd94aa71c80030b66274cf3611 Mon Sep 17 00:00:00 2001 From: Henrik Brix Andersen Date: Tue, 19 Jun 2012 11:38:12 +0200 Subject: [PATCH] Set CLI option type to 'string' for all options allowing ratio inputs --- lib/Slic3r/Config.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/Slic3r/Config.pm b/lib/Slic3r/Config.pm index 13f79b522..947a1ebae 100644 --- a/lib/Slic3r/Config.pm +++ b/lib/Slic3r/Config.pm @@ -136,7 +136,7 @@ our $Options = { }, 'small_perimeter_speed' => { label => 'Small perimeters (mm/s or %)', - cli => 'small-perimeter-speed=f', + cli => 'small-perimeter-speed=s', type => 'f', ratio_over => 'perimeter_speed', }, @@ -148,14 +148,14 @@ our $Options = { }, 'solid_infill_speed' => { label => 'Solid infill (mm/s or %)', - cli => 'solid-infill-speed=f', + cli => 'solid-infill-speed=s', type => 'f', ratio_over => 'infill_speed', aliases => [qw(solid_infill_feed_rate)], }, 'top_solid_infill_speed' => { label => 'Top solid infill (mm/s or %)', - cli => 'top-solid-infill-speed=f', + cli => 'top-solid-infill-speed=s', type => 'f', ratio_over => 'solid_infill_speed', },