Option -p for faxreport

This commit is contained in:
Gandalf 2021-03-14 12:58:34 +01:00
parent b0d3413938
commit c6b4d48ae4
2 changed files with 5 additions and 4 deletions

View file

@ -17,9 +17,10 @@ Spaces in filename seem to make trouble at the moment - avoid them.
`balance.sh` just gives your account balance.
`faxreport.sh [options] [id]` loads the report of a given fax id (as shown by status.sh). If no `id` ist given, it takes the last sent fax from this machine.
: Options are not implemented yet, but those are gonna be accepted:
* `-p` to only print and not save the report
* `-d` to delete the given id from `.fax_history`
Options:
* `-p` to only print and not save the report
* `-d` to delete the given id from `.fax_history`
## Recommendation
Put

View file

@ -64,7 +64,7 @@ then
curl $FILE --output $OUTFILE -s
else
echo "Schicke Report an Drucker"
curl $FILE -s --output - | ln
curl $FILE -s --output - | lp -
fi
if [ $DF = true ]
then