From f1cefd7bfced3ca72b76325f3a372c4ffaea12d1 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Fri, 10 Nov 2017 01:22:25 +0000 Subject: tl-update-auto git-svn-id: svn://tug.org/texlive/trunk@45737 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/man/man1/tlmgr.1 | 20 ++++++++++++++------ Master/texmf-dist/doc/man/man1/tlmgr.man1.pdf | Bin 124196 -> 125265 bytes 2 files changed, 14 insertions(+), 6 deletions(-) diff --git a/Master/texmf-dist/doc/man/man1/tlmgr.1 b/Master/texmf-dist/doc/man/man1/tlmgr.1 index f0efdbbeb56..e054ec4df6e 100644 --- a/Master/texmf-dist/doc/man/man1/tlmgr.1 +++ b/Master/texmf-dist/doc/man/man1/tlmgr.1 @@ -129,7 +129,7 @@ .\" ======================================================================== .\" .IX Title "TLMGR 1" -.TH TLMGR 1 "2017-11-07" "perl v5.26.1" "User Contributed Perl Documentation" +.TH TLMGR 1 "2017-11-09" "perl v5.26.1" "User Contributed Perl Documentation" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l @@ -657,11 +657,13 @@ list of field names from: \f(CW\*(C`name\*(C'\fR, \f(CW\*(C`category\*(C'\fR, \f packages' information is listed in \s-1CSV\s0 format one package per line, and the column information is given by the \f(CW\*(C`itemN\*(C'\fR. The \f(CW\*(C`depends\*(C'\fR column contains the name of all dependencies separated by \f(CW\*(C`:\*(C'\fR. -.Sp -In case the only value passed to \f(CW\*(C`\-\-data\*(C'\fR is \f(CW\*(C`json\*(C'\fR, the output is a +.IP "\fB\-\-json\fR" 4 +.IX Item "--json" +In case \f(CW\*(C`\-\-json\*(C'\fR is specified, the output is a \&\s-1JSON\s0 encoded array where each array element is the \s-1JSON\s0 representation of a single \f(CW\*(C`TLPOBJ\*(C'\fR but with additional information. For details see \&\f(CW\*(C`tlpkg/doc/JSON\-formats.txt\*(C'\fR, format definition: \f(CW\*(C`TLPOBJINFO\*(C'\fR. +If both \f(CW\*(C`\-\-json\*(C'\fR and \f(CW\*(C`\-\-data\*(C'\fR are given, \f(CW\*(C`\-\-json\*(C'\fR takes precedence. .SS "init-usertree" .IX Subsection "init-usertree" Sets up a texmf tree for so-called user mode management, either the @@ -1059,8 +1061,8 @@ given on the command line, not keeping previous settings .Sp In all cases, one of the repositories must be tagged as \f(CW\*(C`main\*(C'\fR; otherwise, all operations will fail! -.SS "restore [\-\-backupdir \fIdir\fP] [\-\-all | \fIpkg\fP [\fIrev\fP]]" -.IX Subsection "restore [--backupdir dir] [--all | pkg [rev]]" +.SS "restore [\-\-json] [\-\-backupdir \fIdir\fP] [\-\-all | \fIpkg\fP [\fIrev\fP]]" +.IX Subsection "restore [--json] [--backupdir dir] [--all | pkg [rev]]" Restore a package from a previously-made backup. .PP If \f(CW\*(C`\-\-all\*(C'\fR is given, try to restore the latest revision of all @@ -1093,6 +1095,12 @@ written to the terminal. .IP "\fB\-\-force\fR" 4 .IX Item "--force" Don't ask questions. +.IP "\fB\-\-json\fR" 4 +.IX Item "--json" +When listing backups, the option \f(CW\*(C`\-\-json\*(C'\fR turn on \s-1JSON\s0 output. +The format is an array of \s-1JSON\s0 objects (\f(CW\*(C`name\*(C'\fR, \f(CW\*(C`rev\*(C'\fR, \f(CW\*(C`date\*(C'\fR). +For details see \f(CW\*(C`tlpkg/doc/JSON\-formats.txt\*(C'\fR, format definition: \f(CW\*(C`TLBACKUPS\*(C'\fR. +If both \f(CW\*(C`\-\-json\*(C'\fR and \f(CW\*(C`\-\-data\*(C'\fR are given, \f(CW\*(C`\-\-json\*(C'\fR takes precedence. .SS "search [\fIoption\fP...] \fIwhat\fP" .IX Subsection "search [option...] what" \fIsearch [\fIoption\fI...] \-\-file \fIwhat\fI\fR @@ -2007,4 +2015,4 @@ This script and its documentation were written for the TeX Live distribution () and both are licensed under the \&\s-1GNU\s0 General Public License Version 2 or later. .PP -\&\f(CW$Id:\fR tlmgr.pl 45716 2017\-11\-07 23:44:28Z preining $ +\&\f(CW$Id:\fR tlmgr.pl 45730 2017\-11\-09 06:27:10Z preining $ diff --git a/Master/texmf-dist/doc/man/man1/tlmgr.man1.pdf b/Master/texmf-dist/doc/man/man1/tlmgr.man1.pdf index 87aea7885b7..bfbab4cf6ed 100644 Binary files a/Master/texmf-dist/doc/man/man1/tlmgr.man1.pdf and b/Master/texmf-dist/doc/man/man1/tlmgr.man1.pdf differ -- cgit v1.2.3