Project

General

Profile

« Previous | Next » 

Revision 3405

Always output Usage messages to stderr and word-wrap them using `fold -s`

View differences:

pg_dump_vegbien
4 4
selfDir="$(dirname -- "$0")"
5 5

  
6 6
if ! test "$#" -eq 1; then
7
    echo "Usage: env [data=1] [plain=1] [owners=1] $0 [schema] [opts...] >out"
7
    echo "Usage: env [data=1] [plain=1] [owners=1] $0 [schema] [opts...] >out"\
8
    |fold -s >&2
8 9
    exit 2
9 10
fi
10 11

  

Also available in: Unified diff