aboutsummaryrefslogtreecommitdiffstats
path: root/skate/cmd/skate-reduce
diff options
context:
space:
mode:
authorMartin Czygan <martin.czygan@gmail.com>2021-05-27 00:52:13 +0200
committerMartin Czygan <martin.czygan@gmail.com>2021-05-27 00:52:13 +0200
commit8c8b7813f9c4c839e7e01d15ec64cb513e6f56e8 (patch)
tree138d29fbca5a5aa351a14ffb30d3ad603713b441 /skate/cmd/skate-reduce
parent953a34c1252e8ee01660d7128cb5e14a87dee35e (diff)
downloadrefcat-8c8b7813f9c4c839e7e01d15ec64cb513e6f56e8.tar.gz
refcat-8c8b7813f9c4c839e7e01d15ec64cb513e6f56e8.zip
cleanup ol for now
Diffstat (limited to 'skate/cmd/skate-reduce')
-rw-r--r--skate/cmd/skate-reduce/main.go15
1 files changed, 4 insertions, 11 deletions
diff --git a/skate/cmd/skate-reduce/main.go b/skate/cmd/skate-reduce/main.go
index f26bdf7..ca32cf6 100644
--- a/skate/cmd/skate-reduce/main.go
+++ b/skate/cmd/skate-reduce/main.go
@@ -63,12 +63,10 @@ var (
logFile = flag.String("log", "", "log filename")
// Possible inputs -- we could switch to a subcommand cli parser?
- refs = flag.String("F", "", "path to refs input")
- releases = flag.String("L", "", "path to release input")
- wiki = flag.String("W", "", "path to wiki input")
- openLibrary = flag.String("O", "", "path to open library input") // XXX: Too generic name.
- openLibraryEditions = flag.String("O", "", "path to open library input editions, keyed on work id")
- openLibraryWorks = flag.String("O", "", "path to open library input works, keyed on work id")
+ refs = flag.String("F", "", "path to refs input")
+ releases = flag.String("L", "", "path to release input")
+ wiki = flag.String("W", "", "path to wiki input")
+ openLibrary = flag.String("O", "", "path to open library input") // XXX: Too generic name.
// Extra args.
reason = flag.String("r", "", "reason for match: doi, pmid, pmcid, arxiv, unknown")
@@ -148,11 +146,6 @@ func main() {
if err := skate.ZippyRefsOpenLibrary(o, f, bw); err != nil {
log.Fatal(err)
}
- case "olmerge":
- // e, w, err := xio.OpenTwo(*openLibraryEditions, *openLibraryWorks)
- // if err != nil {
- // log.Fatal(err)
- // }
default:
log.Fatalf("invalid mode")
}