diff options
author | Norbert Preining <norbert@preining.info> | 2022-01-09 03:00:53 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2022-01-09 03:00:53 +0000 |
commit | fbacb8167ccd172bb0b177974778f228ad41691d (patch) | |
tree | 8ad1c76a4dabddbc25abf75b1bc14238e811e9c4 /support/latexindent/LatexIndent/LogFile.pm | |
parent | cd2e7ab7ef89a5c3c1935281009729bff0f357e2 (diff) |
CTAN sync 202201090300
Diffstat (limited to 'support/latexindent/LatexIndent/LogFile.pm')
-rw-r--r-- | support/latexindent/LatexIndent/LogFile.pm | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/support/latexindent/LatexIndent/LogFile.pm b/support/latexindent/LatexIndent/LogFile.pm index e01792c6fb..692bfddbdb 100644 --- a/support/latexindent/LatexIndent/LogFile.pm +++ b/support/latexindent/LatexIndent/LogFile.pm @@ -28,6 +28,17 @@ sub process_switches{ # -v switch is just to show the version number if($switches{version}) { print $versionNumber,", ",$versionDate,"\n"; + if ($switches{vversion}) { + print "$FindBin::Script lives here: $FindBin::RealBin/$FindBin::Script\n"; + if ( -e "$FindBin::RealBin/defaultSettings.yaml" ){ + print "defaultSettings.yaml lives here $FindBin::RealBin/defaultSettings.yaml\n"; + } elsif ( -e "$FindBin::RealBin/../../texmf-dist/scripts/latexindent/defaultSettings.yaml" ){ + print "defaultSettings.yaml lives here $FindBin::RealBin/../../texmf-dist/scripts/latexindent/defaultSettings.yaml\n"; + } elsif ( -e "$FindBin::RealBin/LatexIndent/defaultSettings.yaml" ) { + print "defaultSettings.yaml lives here $FindBin::RealBin/LatexIndent/defaultSettings.yaml\n"; + } + print "project home: https://github.com/cmhughes/latexindent.pl\n"; + } exit(0); } @@ -37,6 +48,9 @@ latexindent.pl version $versionNumber, $versionDate usage: latexindent.pl [options] [file] -v, --version displays the version number and date of release + -vv, --vversion + displays verbose version details: the version number, date of release, + and location details of latexindent.pl and defaultSettings.yaml -h, --help help (see the documentation for detailed instructions and examples) -sl, --screenlog |