diff options
author | Karl Berry <karl@freefriends.org> | 2021-09-16 20:17:39 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2021-09-16 20:17:39 +0000 |
commit | fd4d90b5caf562a8d951bb4a3b78a1aa74930017 (patch) | |
tree | 0149dcc8db072610a3563e4de0d64059b7d3a4e1 /Build/source/texk | |
parent | d1b9b9a5605416852eda15bb968ab490d42b47cf (diff) |
latexindent (16sep21)
git-svn-id: svn://tug.org/texlive/trunk@60522 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk')
-rwxr-xr-x | Build/source/texk/texlive/linked_scripts/latexindent/latexindent.pl | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/Build/source/texk/texlive/linked_scripts/latexindent/latexindent.pl b/Build/source/texk/texlive/linked_scripts/latexindent/latexindent.pl index 696fb2b7b8d..e27a8be07b7 100755 --- a/Build/source/texk/texlive/linked_scripts/latexindent/latexindent.pl +++ b/Build/source/texk/texlive/linked_scripts/latexindent/latexindent.pl @@ -1,5 +1,5 @@ #!/usr/bin/env perl -# latexindent.pl, version 3.11, 2021-07-31 +# latexindent.pl, version 3.12, 2021-09-16 # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -47,6 +47,9 @@ GetOptions ( "replacement|r"=>\$switches{replacement}, "onlyreplacement|rr"=>\$switches{onlyreplacement}, "replacementrespectverb|rv"=>\$switches{replacementRespectVerb}, + "check|k"=>\$switches{check}, + "checkv|kv"=>\$switches{checkverbose}, + "lines|n=s"=>\$switches{lines}, ); # check local settings doesn't interfer with reading the file; @@ -67,6 +70,6 @@ if($switches{readLocalSettings} and scalar(@ARGV) < 1) { # allow STDIN as input, if a filename is not present unshift( @ARGV, '-' ) unless @ARGV; -my $document = bless ({name=>"masterDocument",modifyLineBreaksYamlName=>"masterDocument",fileName=>$ARGV[0],switches=>\%switches},"LatexIndent::Document"); +my $document = bless ({name=>"mainDocument",modifyLineBreaksYamlName=>"mainDocument",fileName=>$ARGV[0],switches=>\%switches},"LatexIndent::Document"); $document->latexindent; exit(0); |