mirror of
https://github.com/rocketraman/sane-scan-pdf.git
synced 2025-05-21 01:50:10 -07:00
Help now shows current content of config files
This commit is contained in:
parent
5d71ca2ff2
commit
144067840c
14
scan
14
scan
@ -165,9 +165,23 @@ if [[ $HELP == 1 ]]; then
|
||||
echo "CONFIGURATION"
|
||||
echo "Local configuration can be written in the form of environment variables to:"
|
||||
echo " $DEFAULTS"
|
||||
if [[ -e "$DEFAULTS" ]]; then
|
||||
echo ""
|
||||
echo "This file exists and currently contains:"
|
||||
echo "-----"
|
||||
cat "$DEFAULTS"
|
||||
echo "-----"
|
||||
fi
|
||||
echo ""
|
||||
echo "A pre-scan hook script can be written to:"
|
||||
echo " $SCANPRE"
|
||||
if [[ -e "$SCANPRE" ]]; then
|
||||
echo ""
|
||||
echo "This file exists and currently contains:"
|
||||
echo "-----"
|
||||
cat "$SCANPRE"
|
||||
echo "-----"
|
||||
fi
|
||||
echo ""
|
||||
exit 0
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user