bin/pdfctl: Fix argument check when 0

master
Pierre Neidhardt 2018-02-26 23:21:09 +01:00
parent 23a2cd4316
commit 2342768616
1 changed files with 3 additions and 1 deletions

View File

@ -14,7 +14,7 @@ List of commands and their options:
compress [OPTIONS]
Compress PDFs.
-c: Compress raster graphics at the expense of a quality loss.
-n: Do not compress raster graphics at all. Output may be bigger.
-n: Do not compress raster graphics at all. Output may be bigger.
extract [-f FIRST-PAGE] [-l LAST-PAGE]
Extract a range of pages to a single PDF.
@ -39,6 +39,8 @@ For more details on compression:
EOF
}
[ $# -eq 0 ] && usage && exit
cmd="$1"
shift 1