mirror of
git://projects.qi-hardware.com/cae-tools.git
synced 2024-12-22 23:59:34 +02:00
cameo/zstack.pl (usage): describe option -r
Also show usage on unknown option.
This commit is contained in:
parent
76b1b3e42e
commit
ce243b6a79
@ -15,6 +15,7 @@
|
||||
sub usage
|
||||
{
|
||||
print STDERR "usage: $0 [-r] z-start z-maxstep [file ...]\n";
|
||||
print STDERR " -r reverse Z stacking. Also swaps X and Y.\n";
|
||||
exit(1);
|
||||
}
|
||||
|
||||
@ -39,6 +40,7 @@ if ($ARGV[0] eq "-r") {
|
||||
shift @ARGV;
|
||||
$reverse = 1;
|
||||
}
|
||||
&usage if $ARGV[0] =~ /^-[^0-9]/;
|
||||
|
||||
$z0 = shift @ARGV;
|
||||
$zs = shift @ARGV;
|
||||
|
Loading…
Reference in New Issue
Block a user