diff options
-rw-r--r-- | src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs index e3e9101..147a7e0 100644 --- a/src/main.rs +++ b/src/main.rs @@ -80,7 +80,7 @@ fn run () -> Result<(), anyhow::Error> { let output_pdf = opt_matches.opt_str("output") .unwrap_or("-".to_owned()); - let mut doc = if input_pdf == "=" { + let mut doc = if input_pdf == "-" { Document::load_from(&mut std::io::stdin()) .context("failed reading from stdin")? } else { |