Add more butcher docs

master
Lennart Spitzner 2022-12-08 18:13:13 +01:00
parent 72d7a1d601
commit 33019050c5
1 changed files with 15 additions and 3 deletions

View File

@ -541,9 +541,21 @@ main = B.mainFromCmdParser $ do
["skip-any"]
"REGEX"
(B.flagHelpStr "drop lines containing this pattern, similar to `grep -v`")
label <- B.addFlagStringParams "" ["label"] "STRING" mempty
yield <- B.addFlagStringParams "y" ["yield"] "REGEX" mempty
yieldFull <- B.addFlagStringParams "" ["yield-any"] "REGEX" mempty
label <- B.addFlagStringParams "" ["label"] "STRING" mempty
yield <- B.addFlagStringParams
"y"
["yield"]
"REGEX"
(B.flagHelpStr
"always fully retain lines starting with this pattern, disregarding skip/summarize"
)
yieldFull <- B.addFlagStringParams
""
["yield-any"]
"REGEX"
(B.flagHelpStr
"always fully retain lines containing this pattern, disregarding skip/summarize"
)
omitSummary <- B.addSimpleBoolFlag "" ["omit-summary"] mempty
tee <- B.addFlagStringParams
""