New --close-after-slicing option to allow for easy integration with Pronterface

This commit is contained in:
Alessandro Ranellucci 2011-11-13 20:45:15 +01:00
parent a10d13120c
commit ba1b59f54c
2 changed files with 10 additions and 4 deletions

View file

@ -12,12 +12,13 @@ use Getopt::Long;
use Slic3r;
use XXX;
my %opt;
our %opt;
GetOptions(
'help' => sub { usage() },
'debug' => \$Slic3r::debug,
'o|output' => \$opt{output},
'o|output=s' => \$opt{output},
'close-after-slicing' => \$opt{close_after_slicing},
'save=s' => \$opt{save},
'load=s' => \$opt{load},