aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeddy Wing2021-05-05 01:53:40 +0200
committerTeddy Wing2021-05-05 01:53:40 +0200
commite6e091be25983f99697288d7f65940c0e07edd33 (patch)
treeab9cb56d562dcb32c84f52ac7b5b1a7e5058d630
parent31eec136ddb55595f554e7f01f59a91b9cd72e5f (diff)
downloadpdf-form-replace-font-e6e091be25983f99697288d7f65940c0e07edd33.tar.bz2
Usage: PDF input path argument is optional
-rw-r--r--src/main.rs2
1 files changed, 1 insertions, 1 deletions
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);