Skip to content

Commit

Permalink
Set CLI option type to 'string' for all options allowing ratio inputs
Browse files Browse the repository at this point in the history
  • Loading branch information
henrikbrixandersen committed Jun 19, 2012
1 parent 48d345c commit 8d25e64
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/Slic3r/Config.pm
Expand Up @@ -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',
},
Expand All @@ -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',
},
Expand Down

0 comments on commit 8d25e64

Please sign in to comment.