summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorLukasz Kasprzak <lukas@labunix.xyz>2026-09-14 13:26:51 +0200
committerLukasz Kasprzak <lukas@labunix.xyz>2026-09-14 13:26:51 +0200
commit07c24054cab965800983ef40f53a05c2db131ede (patch)
tree741db561d614b35f8f94fee04fb5ce663a629a0b /man
parent70dccf8d573028aaed64185acb8e134e5339afa3 (diff)
downloadkrino-0.0.3.tar.gz
krino-0.0.3.zip
krino: 0.0.3 — the plan as one block per file, wrapped, and -Pv0.0.3
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 ~.
Diffstat (limited to 'man')
-rw-r--r--man/krino.117
-rw-r--r--man/krino.conf.52
2 files changed, 15 insertions, 4 deletions
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
diff --git a/man/krino.conf.5 b/man/krino.conf.5
index 0778779..a412e1d 100644
--- a/man/krino.conf.5
+++ b/man/krino.conf.5
@@ -1,5 +1,5 @@
.\" SPDX-License-Identifier: GPL-3.0-or-later
-.Dd September 13, 2026
+.Dd September 14, 2026
.Dt KRINO.CONF 5
.Os
.Sh NAME