diff options
Diffstat (limited to 'skate/cmd/skate-reduce')
-rw-r--r-- | skate/cmd/skate-reduce/main.go | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/skate/cmd/skate-reduce/main.go b/skate/cmd/skate-reduce/main.go index fbb4f57..a1aaebe 100644 --- a/skate/cmd/skate-reduce/main.go +++ b/skate/cmd/skate-reduce/main.go @@ -78,6 +78,7 @@ var ( logFile = flag.String("log", "", "log filename") // Possible inputs -- we could switch to a subcommand cli parser? + bref = flag.String("B", "", "path to bref file") refs = flag.String("F", "", "path to refs input") releases = flag.String("L", "", "path to release input") wiki = flag.String("W", "", "path to wiki input") @@ -181,6 +182,14 @@ func main() { if err := skate.ZippyExactReleases(o, f, r, bw); err != nil { log.Fatal(err) } + case "unmatched": + b, r, err := xio.OpenTwo(*bref, *refs) + if err != nil { + log.Fatal(err) + } + if err := skate.ZippyBrefAugment(b, r, bw); err != nil { + log.Fatal(err) + } default: log.Fatalf("invalid mode") } |