summaryrefslogtreecommitdiffstats
path: root/fatcat-cli/src/main.rs
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2021-04-30 11:06:18 -0700
committerBryan Newbold <bnewbold@archive.org>2021-04-30 11:06:18 -0700
commitdaef08aec3f2297b972feef0cfc84ffd52e313e5 (patch)
tree465a967120de25f3509c2f315cbbaad93b35706c /fatcat-cli/src/main.rs
parent948f3bce44a1abf31386672de307958def67d971 (diff)
downloadfatcat-cli-daef08aec3f2297b972feef0cfc84ffd52e313e5.tar.gz
fatcat-cli-daef08aec3f2297b972feef0cfc84ffd52e313e5.zip
search: add scholar index; improve queries for file and container
Diffstat (limited to 'fatcat-cli/src/main.rs')
-rw-r--r--fatcat-cli/src/main.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/fatcat-cli/src/main.rs b/fatcat-cli/src/main.rs
index 15301b5..317a7c3 100644
--- a/fatcat-cli/src/main.rs
+++ b/fatcat-cli/src/main.rs
@@ -659,6 +659,9 @@ fn run(opt: Opt) -> Result<()> {
)?;
writeln!(&mut std::io::stdout(), "{}", entity.to_json_string()?)?
}
+ (false, true, SearchEntityType::Scholar) => {
+ return Err(anyhow!("entity schema output not supported for scholar index"));
+ }
}
}
}