aboutsummaryrefslogtreecommitdiffstats
path: root/skate/cmd
diff options
context:
space:
mode:
Diffstat (limited to 'skate/cmd')
-rw-r--r--skate/cmd/skate-reduce/main.go13
1 files changed, 10 insertions, 3 deletions
diff --git a/skate/cmd/skate-reduce/main.go b/skate/cmd/skate-reduce/main.go
index fe8b803..605c9b6 100644
--- a/skate/cmd/skate-reduce/main.go
+++ b/skate/cmd/skate-reduce/main.go
@@ -36,7 +36,12 @@
// | $ skate-reduce -m wiki -L a.ndj -W b.ndj
// |
// |
-// * oled | zippy mode for releases and OL inputs.
+// * oledt | zippy mode for releases and OL inputs, dumps table.
+// |
+// | $ skate-reduce -m oled -F a.ndj -O b.ndj
+// |
+// |
+// * oled | zippy mode for releases and OL inputs, emit biblioref.
// |
// | $ skate-reduce -m oled -F a.ndj -O b.ndj
//
@@ -58,7 +63,7 @@ import (
var (
numWorkers = flag.Int("w", runtime.NumCPU(), "number of workers")
batchSize = flag.Int("b", 10000, "batch size")
- mode = flag.String("m", "ref", "mode, e.g. exact, fuzzy, ref, bref, wiki, ol")
+ mode = flag.String("m", "ref", "mode, e.g. exact, fuzzy, ref, bref, wiki, oledt, ...")
quite = flag.Bool("q", false, "be quite")
logFile = flag.String("log", "", "log filename")
@@ -137,7 +142,7 @@ func main() {
if err := skate.ZippyExactWiki(l, w, reasonMap["doi"], bw); err != nil {
log.Fatal(err)
}
- case "oled":
+ case "oledt":
o, f, err := xio.OpenTwo(*openLibrary, *refs)
if err != nil {
log.Fatal(err)
@@ -145,6 +150,8 @@ func main() {
if err := skate.ZippyVerifyRefsOpenLibraryTable(o, f, bw); err != nil {
log.Fatal(err)
}
+ case "oled":
+ log.Fatalf("not yet implemented")
default:
log.Fatalf("invalid mode")
}