]> granicus.if.org Git - python/commitdiff
*Sigh*
authorFred Drake <fdrake@acm.org>
Wed, 11 Mar 1998 15:41:21 +0000 (15:41 +0000)
committerFred Drake <fdrake@acm.org>
Wed, 11 Mar 1998 15:41:21 +0000 (15:41 +0000)
Add a -q option for "quiet" operation.  Nothing gets out (not even stderr,
since that's tossed to stdout for capture in the .how file).  It's a good
idea to use -l to get the log in case there are problems.  Maybe this should
be the default and add a --verbose option to get the stdout?  There's way
too much junk output.

Doc/tools/mkhowto.sh

index 6d8da8f57884e62a123ebace4058753f6756d463..0541c85bbd9e97a3a7d430b55ee9ba54ecee6bec 100755 (executable)
@@ -99,6 +99,10 @@ while [ "$1" ] ; do
            DISCARD_TEMPS=''
            shift 1
            ;;
+       -q|--quiet|__quie|--qui|--qu|--q)
+           QUIET=true
+           shift 1
+           ;;
        -*)
            usage
            ;;
@@ -119,6 +123,10 @@ if [ "$DEBUGGING" ] ; then
     set -x
 fi
 
+if [ "$QUIET" ] ; then
+    exec >/dev/null
+fi
+
 for FILE in $@ ; do
     FILE=${FILE%.tex}
     if [ "$BUILD_DVI" -o "$BUILD_PS" ] ; then