summaryrefslogtreecommitdiff
path: root/src/cli.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/cli.rs')
-rw-r--r--src/cli.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cli.rs b/src/cli.rs
index 88408fc8..276462b7 100644
--- a/src/cli.rs
+++ b/src/cli.rs
@@ -737,6 +737,7 @@ pub(super) fn parse_read_source(value: &str) -> std::io::Result<ReadSource> {
"visible" => Ok(ReadSource::Visible),
"recent" => Ok(ReadSource::Recent),
"recent-unwrapped" | "recent_unwrapped" => Ok(ReadSource::RecentUnwrapped),
+ "detection" => Ok(ReadSource::Detection),
_ => Err(std::io::Error::other(format!(
"invalid read source: {value}"
))),