diff options
Diffstat (limited to 'hm/soispha/pkgs/scripts/apps/con2pdf')
-rwxr-xr-x | hm/soispha/pkgs/scripts/apps/con2pdf | 38 |
1 files changed, 30 insertions, 8 deletions
diff --git a/hm/soispha/pkgs/scripts/apps/con2pdf b/hm/soispha/pkgs/scripts/apps/con2pdf index 0c4ec993..550fe5e9 100755 --- a/hm/soispha/pkgs/scripts/apps/con2pdf +++ b/hm/soispha/pkgs/scripts/apps/con2pdf @@ -17,23 +17,45 @@ cat << EOF Scan images and turn them into a pdf. Usage: - $NAME [--help|--version|--out-dir|--num-pages|--method] --name --device + $NAME [OPTIONS] --name --device -Options: - --out-dir | -o +OPTIONS: + --out-dir | -o [FILE] Path to place the generated pdf files (default: ./pdf). - --name | -n - Name for the pdf files (e.g. "\$name"_1.pdf). - --num-pages | -p + + --name | -n NAME + Name for the pdf files (e.g. <NAME>_1.pdf). + + --num-pages | -p NUM Number of pages to merge into one pdf (default: 1). - --device | -d + + --device | -d DEVICE Device used for scanning. - --method | -m + + --method | -m METHOD Method to use for scanning (default: ADF). + --help | -h Display this help and exit. + --version | -v Display version and copyright information and exit. +ARGUMENTS: + FILE := [[fd .]] + A name of a file to store, default is: ./pdf + + NAME | * := [[fd .]] + The basename of the generated files + + NUM | *([0-9]) := 0 | 1 | 2 | 3 | 4 + Possible numbers of pages, can be more than 4 + + DEVICE := [[$(cat %DEVICE_FUNCTION)]] + Possible scanner names + + METHOD := ADF | Flatbed + The scanning method to use, not all scanners support both of + these. The default is ADF EOF } |