about summary refs log tree commit diff
path: root/editor
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2020-06-20 00:43:29 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2020-06-20 00:43:29 +0000
commit04f17555649bb87f11907673d99a95b22a288436 (patch)
treedb9338e46c879d4c342f3d8231247656883babcc /editor
parente80463c21f0ce7f2957eebd597c35649a3b55c8d (diff)
downloadnetpbm-mirror-04f17555649bb87f11907673d99a95b22a288436.tar.gz
netpbm-mirror-04f17555649bb87f11907673d99a95b22a288436.tar.xz
netpbm-mirror-04f17555649bb87f11907673d99a95b22a288436.zip
Fix -quiet
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@3863 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'editor')
-rwxr-xr-xeditor/pamstretch-gen6
1 files changed, 1 insertions, 5 deletions
diff --git a/editor/pamstretch-gen b/editor/pamstretch-gen
index fec4469c..ee04821a 100755
--- a/editor/pamstretch-gen
+++ b/editor/pamstretch-gen
@@ -24,10 +24,6 @@ while true ; do
         shift
         ;;
         -q|-qu|-qui|-quie|-quiet|--q|--qu|--qui|--quie|--quiet )
-        quietopt="-plain"
-        shift
-        ;;
-        -q|-qu|-qui|-quie|-quiet|--q|--qu|--qui|--quie|--quiet )
         quietopt="-quiet"
         shift
         ;;
@@ -80,7 +76,7 @@ esac
 # in some exceptional cases adjustment is necessary because of
 # "-dropedge".
 
-report=$(pamscale -reportonly $1 $tempfile)
+report=$(pamscale $quietopt -reportonly $1 $tempfile)
 if [ $? -ne 0 ]; then
   echo "pamstretch-gen: pamscale -reportonly $1 (file) failed" 1>&2
   exit 1