From e6e091be25983f99697288d7f65940c0e07edd33 Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Wed, 5 May 2021 01:53:40 +0200 Subject: Usage: PDF input path argument is optional --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 00c1493..f985750 100644 --- a/src/main.rs +++ b/src/main.rs @@ -34,7 +34,7 @@ fn run () -> Result<(), anyhow::Error> { if opt_matches.opt_present("h") { print!( "{}", - opts.usage("usage: pdf-form-replace-font --fill ORIGINAL_FONT --replace REPLACEMENT_FONT [-o FILE] PDF_FILE"), + opts.usage("usage: pdf-form-replace-font --fill ORIGINAL_FONT --replace REPLACEMENT_FONT [-o FILE] [PDF_FILE]"), ); process::exit(exitcode::USAGE); -- cgit v1.2.3