minor changes

main
Antonio De Lucreziis 2 years ago
parent 78237dca71
commit e8137b9721

@ -2,18 +2,22 @@
set -euo pipefail set -euo pipefail
function show_usage { help_message="$(cat <<END
cat <<-END usage: $(basename "$0") [OPTIONS...] INPUT_PDF OUTPUT_PDF
usage: $0 [OPTIONS...] input_file output_file
Converts a PDF file to a series of JPEG images using convert to Converts a PDF file to a series of JPEG images using convert to reduce the quality
reduce the quality and then merges back the result in a single pdf and then merges back the result in a single pdf
options: Options:
-q, --quality Set the JPEG quality (default: 75) -q, --quality Set the JPEG quality (default: 75)
-v, --verbose Enable verbose output -v, --verbose Enable verbose output, also shows an estimate of remaining time
-h, --help Display this help message -h, --help Display this help message
END END
)"
function show_usage() {
echo "$help_message"
exit 1 exit 1
} }

Loading…
Cancel
Save