From 07c24054cab965800983ef40f53a05c2db131ede Mon Sep 17 00:00:00 2001 From: Lukasz Kasprzak Date: Mon, 14 Sep 2026 13:26:51 +0200 Subject: krino: 0.0.3 — the plan as one block per file, wrapped, and -P MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Each file shows its steps, then the rule and the reason it matched, one field per line; on a terminal every line wraps to its width with continuation lines under their own column, and piped output is never wrapped. Choosing per file shows the same block. -P / --no-pager prints the plan without the pager. A duplicate's original is shown with ~. --- man/krino.1 | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) (limited to 'man/krino.1') diff --git a/man/krino.1 b/man/krino.1 index 9e2d274..a4ce2f9 100644 --- a/man/krino.1 +++ b/man/krino.1 @@ -1,5 +1,5 @@ .\" SPDX-License-Identifier: GPL-3.0-or-later -.Dd September 13, 2026 +.Dd September 14, 2026 .Dt KRINO 1 .Os .Sh NAME @@ -11,6 +11,8 @@ .Op Fl v .Op Fl -json .Op Fl c Ar file +.Op Fl P +.Op Fl -no-color .Op Ar name ... .Pp .Nm @@ -88,7 +90,7 @@ the full reason a test matched or not. .It Fl -json With .Fl n , -print the plan as JSON instead of the table. +print the plan as JSON instead of the text blocks. Refused unless .Fl n is also given. @@ -123,6 +125,10 @@ red; prompt keys bold; and .Ic krino log Ns 's .Dq (undone) faint. +.It Fl P , Fl -no-pager +Print the plan straight out, never through +.Ev PAGER . +Without it, a plan taller than the terminal is shown through the pager. .It Fl h , Fl -help Print usage and exit. .It Fl -version @@ -215,8 +221,13 @@ can be reversed with .Ic undo . .Pp .Ic c -asks about each file in turn: +asks about each file in turn, showing the same block the plan shows for it: +each step, then the rule and the reason it matched: .Bd -literal -offset indent +[2/41] fv_123.pdf + copy \(-> ~/backup/invoices/2026/ + rule backup + because content "invoice" [y] yes [n] no [a] yes to this and all remaining [d] done, apply chosen so far [q] quit, apply nothing .Ed .Pp -- cgit v1.3