Project

General

Profile

« Previous | Next » 

Revision 12041

bugfix: bin/pg_dump_vegbien: fixed arg-count check to allow passing command-line options to pg_dump via args

View differences:

trunk/bin/pg_dump_vegbien
3 3

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

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

Also available in: Unified diff