1
0
mirror of https://github.com/StackExchange/dnscontrol.git synced 2024-05-11 05:55:12 +00:00

FEATURE: Add experimental --reportmax flag (#2719)

This commit is contained in:
Tom Limoncelli
2023-12-13 12:32:39 -05:00
committed by GitHub
parent 2e4aa7a4c8
commit 0b8bb1d1ba
3 changed files with 26 additions and 9 deletions

View File

@@ -72,6 +72,9 @@ var (
// variable name is easy to grep for when we make the conversion.
var SkinnyReport = true
// MaxReport represents how many records to show if SkinnyReport == true
var MaxReport = 5
// ConsolePrinter is a handle for the console printer.
type ConsolePrinter struct {
Reader *bufio.Reader