summaryrefslogtreecommitdiff
path: root/cmd/krino/explain.go
diff options
context:
space:
mode:
authorLukasz Kasprzak <lukas@labunix.xyz>2026-09-14 23:07:57 +0200
committerLukasz Kasprzak <lukas@labunix.xyz>2026-09-14 23:07:57 +0200
commitc66a842ce4679a3ffa5504dad39b1402bea75e9f (patch)
tree9e9db5e569b9f16a4ca4e66d0a5b0f456a186ece /cmd/krino/explain.go
parentb013e5fb87580e4cab0d85a0d2c8bb402c610413 (diff)
downloadkrino-0.0.7.tar.gz
krino-0.0.7.zip
plan 10 re-check: cut run column, damaged undo run, emptied directory cleanup, text turning binary, explain flags, interrupt docsv0.0.7
Diffstat (limited to 'cmd/krino/explain.go')
-rw-r--r--cmd/krino/explain.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/cmd/krino/explain.go b/cmd/krino/explain.go
index 8d5418e..5f9f6de 100644
--- a/cmd/krino/explain.go
+++ b/cmd/krino/explain.go
@@ -26,6 +26,9 @@ func cmdExplain(g *globals, args []string, stdout, stderr io.Writer) int {
if fs.NArg() != 1 {
return usageError(stderr, "usage: krino explain FILE")
}
+ if code, refused := refuseUnusedFlags(g, stderr, "explain", false); refused {
+ return code
+ }
minAge, setMinAge, err := minAgeOverride(g)
if err != nil {
return usageError(stderr, err.Error())