From b1d5e3c45ee0a6deb7fae2d3895a472065efa8f3 Mon Sep 17 00:00:00 2001
From: Kubat <mael.martin31@gmail.com>
Date: Sun, 2 May 2021 00:58:15 +0200
Subject: [PATCH] LKT: Update manpage with the new row_format option

---
 man/lkt.template | 19 ++++++++++++++++++-
 1 file changed, 18 insertions(+), 1 deletion(-)

diff --git a/man/lkt.template b/man/lkt.template
index c64f8c60..625fa7d8 100644
--- a/man/lkt.template
+++ b/man/lkt.template
@@ -241,6 +241,23 @@ The port on which the \fBlektord\fP daemon is listening
 \fBpwd\fP
 The password to use for commands that require authentification. This is the
 case of most of the \fIadmin\fP commands
+.TP
+\fBrow_format\fP
+The way of formating the rows, can be \fIoneline\fP, \fIpretty\fP or
+\fIauto\fP. For small screens (compile time option), the \fIauto\fP option will
+set the variable to \fIpretty\fP, \fIoneline\fP otherwise. The default is
+\fIauto\fP. Here is an example of differences between the two formats:
+.sp
+.RS 4
+.nf
+$ lkt row_format=oneline queue 1
+181: 6923 vo - en / Hellsing Ultimate - ED7 - Shintou Shite [Geralt]
+
+$ lkt row_format=pretty queue 1
+181: 6923 vo - en by Geralt
+Hellsing Ultimate - ED7 - Shintou Shite
+.P
+.RE
 .PP
 
 
@@ -309,7 +326,7 @@ Valid invocations of the \fBlkt\fP command are the following:
 .PD 0
 .TP
 .PD
-\fBlkt host=sakura port=6601 pwd=toto admin restart\fP
+\fBlkt host=sakura port=6601 pwd=toto row_printer=auto admin restart\fP
 Restart the lektord daemon on the \fIsakura\fP PC. This daemon is listening on
 the port \fI6601\fP and the password of the admin user is \fItoto\fP
 .TP
-- 
GitLab