diff options
author | Teddy Wing | 2021-05-06 20:25:29 +0200 |
---|---|---|
committer | Teddy Wing | 2021-05-06 20:25:29 +0200 |
commit | 51ec6ee411838b06edff7da278b34d46d5d6aca5 (patch) | |
tree | df39bd308306997115f2871ef4bf8a692a087780 | |
parent | 57f687b1a5c120fd2a7c4473174c95288e40561a (diff) | |
download | pdf-form-replace-font-51ec6ee411838b06edff7da278b34d46d5d6aca5.tar.bz2 |
Fix standard input command line argument typo
Didn't notice this before, but apparently I wrote a typo for the
standard input free argument. It should be a hyphen character instead of
an equals sign.
-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 { |