From 7fc13491ce7c1e98d235b436c78a38a3f79e20f5 Mon Sep 17 00:00:00 2001 From: Karma Riuk Date: Thu, 27 May 2021 16:07:34 +0200 Subject: [PATCH] Updated the usage function, to be more explicit --- scantopdf | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/scantopdf b/scantopdf index 150b2b1..8806eab 100755 --- a/scantopdf +++ b/scantopdf @@ -40,11 +40,14 @@ usage () { cat << EOF scantopdf - A quick bash script that wraps around tesseract to make book scans "editable" -Usage: scantopdf [-v|--verbose] input.pdf +Usage: scantopdf [-v|--verbose] file.pdf + scantopdf [-v|--verbose] "file with spaces.pdf" scantopdf [-h|-?|--help] Options: - input.pdf the file you want to make editable + file.pdf the file you want to make editable (make + sure to put quotes " around the file + name if the filename has spaces) Optional arguments: -v, --verbose print each step the script passes through