From 4b7e9de14c02235389dfca273833de57310bebd3 Mon Sep 17 00:00:00 2001 From: Gandalf Date: Sun, 14 Mar 2021 12:58:34 +0100 Subject: [PATCH] Option -p for faxreport --- README.md | 2 +- faxreport.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 5332f25..ff65a5a 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ 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: + : Options: * `-p` to only print and not save the report * `-d` to delete the given id from `.fax_history` diff --git a/faxreport.sh b/faxreport.sh index e4d4309..15319ee 100755 --- a/faxreport.sh +++ b/faxreport.sh @@ -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