mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-05-11 05:55:12 +00:00
BUG: diff2 flag can not work in both places (#2286)
Co-authored-by: Tom Limoncelli <tal@whatexit.org>
This commit is contained in:
@ -68,11 +68,6 @@ func (args *PreviewArgs) flags() []cli.Flag {
|
|||||||
Destination: &args.Full,
|
Destination: &args.Full,
|
||||||
Usage: `Add headings, providers names, notifications of no changes, etc`,
|
Usage: `Add headings, providers names, notifications of no changes, etc`,
|
||||||
})
|
})
|
||||||
flags = append(flags, &cli.BoolFlag{
|
|
||||||
Name: "diff2",
|
|
||||||
Destination: &diff2.EnableDiff2,
|
|
||||||
Usage: `Enable replacement diff algorithm`,
|
|
||||||
})
|
|
||||||
return flags
|
return flags
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user