diff options
author | EuAndreh <eu@euandre.org> | 2023-04-12 08:15:20 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2023-04-12 08:15:20 -0300 |
commit | c6188975d2da6c1696c4433f6fce8ae4c9a6ac38 (patch) | |
tree | 613545634bc999385d13ecb107d2cce113ba11c4 /bin/print | |
parent | bin/: Add trailing semicolor to Perl heredocs (diff) | |
download | dotfiles-c6188975d2da6c1696c4433f6fce8ae4c9a6ac38.tar.gz dotfiles-c6188975d2da6c1696c4433f6fce8ae4c9a6ac38.tar.xz |
bin/: Make help string more consistent across several executables
Diffstat (limited to 'bin/print')
-rwxr-xr-x | bin/print | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -12,24 +12,38 @@ usage() { help() { cat <<-'EOF' + Options: -d print duplex/double-sided -q QUALITY choose the print quality, either: low, medium (default) or high. -h, --help show this message + FILE path to file to be printed + + + Print FILE using CUPS using lp(1). + + Examples: Print the given PostScript file with default quality: + $ print f1.ps + Print multiple PDF files with high quality: + $ print -dq high *.pdf + Print the file from STDIN, double-sided: + $ print -d < f2.ps + Print multiple source code files: + $ print src/*.{c,h} EOF } |