diff options
author | Henrik Brix Andersen <henrik@brixandersen.dk> | 2012-06-16 19:16:50 +0400 |
---|---|---|
committer | Henrik Brix Andersen <henrik@brixandersen.dk> | 2012-06-16 19:16:50 +0400 |
commit | c50cabe095cbb19972e65a4de25c67d0cfc988d4 (patch) | |
tree | e1f8bb2ef62776904869afc54add415f087be84f /slic3r.pl | |
parent | 4d2a813450446abdb1816d9a13fb83970418df4d (diff) |
Add --version argument
Diffstat (limited to 'slic3r.pl')
-rwxr-xr-x | slic3r.pl | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -17,6 +17,7 @@ my %cli_options = (); { my %options = ( 'help' => sub { usage() }, + 'version' => sub { print "$Slic3r::VERSION\n"; exit 0 }, 'debug' => \$Slic3r::debug, 'gui' => \$opt{gui}, @@ -121,6 +122,7 @@ written by Alessandro Ranellucci <aar\@cpan.org> - http://slic3r.org/ Usage: slic3r.pl [ OPTIONS ] file.stl --help Output this usage screen and exit + --version Output the version of Slic3r and exit --save <file> Save configuration to the specified file --load <file> Load configuration from the specified file. It can be used more than once to load options from multiple files. |