summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xdir-to-movie.pl10
1 files changed, 6 insertions, 4 deletions
diff --git a/dir-to-movie.pl b/dir-to-movie.pl
index ff5a9cc..4ca963b 100755
--- a/dir-to-movie.pl
+++ b/dir-to-movie.pl
@@ -10,15 +10,17 @@ my $tag = "pix2pixhd_" . time;
my $module = "pix2pixhd";
my $endpoint = undef;
GetOptions (
- "tag" => \$tag,
- "module" => \$module,
- "endpoint" => \$endpoint
+ "tag=s" => \$tag,
+ "module=s" => \$module,
+ "endpoint=s" => \$endpoint
)
or die("Error in command line arguments\n");
$tag =~ s/\....$//;
-print "$tag\n";
+print "tag: $tag\n";
+print "module: $module\n";
+print "endpoint: $endpoint\n";
if (! -e "results/$tag") {
print "usage: $0 [tag]\n";