diff options
Diffstat (limited to 'lib/sbin/ParamLatex.pl')
-rw-r--r-- | lib/sbin/ParamLatex.pl | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/sbin/ParamLatex.pl b/lib/sbin/ParamLatex.pl index 48b30501..0628e140 100644 --- a/lib/sbin/ParamLatex.pl +++ b/lib/sbin/ParamLatex.pl @@ -4,7 +4,7 @@ # the following variables in the 'use vars' statement, that can be passed in from # the command. use strict; -use vars qw($h $help $cctk_home $thornlist $outdir $verbose $debug $arrangements_dir $document_type); +use vars qw($h $help $cctk_home $thornlist $outdir $verbose $debug $arrangements_dir $document_type $thorn); ######################### # ->> ParamLatex.pl <<- # @@ -19,6 +19,7 @@ This program will take as input a thornlist, and outputs a latex table that cont -cctk_home= : root directory of Cactus -arrangements_dir= : arrangements directory -thornlist= : thornlist to process + -thorn= : specific thorn to process -outdir= : where to place resulting output files -document_type= : is this a self containted 'document' or 'section' @@ -111,6 +112,8 @@ if (defined $thornlist) { # provided by MakeUtils.pl, returns a hash with a list of the thorns in our thornlist %thorns = &ReadThornlist($thornlist); @listOfThorns = sort keys %thorns; +} elsif (defined $thorn) { + @listOfThorns = $thorn; } else { # we don't have a thornlist, go find all thorns in arrangements directory @listOfThorns = ThornUtils::CreateThornlist($arrangements_dir); |