On 6/18/07, Jan Wieck <[EMAIL PROTECTED]> wrote:
> On 6/16/2007 5:32 PM, Stéphane Schildknecht wrote:
> > David Fetter a écrit :
> >>
> >>>  # ----
> >>> -if test $# -ne 2 ; then
> >>> -   echo "usage: $0 subscriber-dbname clustername" >&2
> >>> -   exit 1
> >>> +if test $# -lt 2 ; then
> >>> +        echo "usage: $0 subscriber-dbname clustername [-H host] [-P 
> >>> port] [-U user]" >&2
> >>>
> >>
> >> Why -H and -P instead of -h and -p, respectively?
> >>
> >>
> >
> > For no good reason, except I already used -h for --help  and -P was just
> > a silly way to have the same (upper) case for all options.
>
> -? is a good idea for --help.

I agree. Following the convention in pg_dump, psql and friends is, I
think, quite important. That means that -h is host, and -p is port.

Andrew
_______________________________________________
Slony1-general mailing list
[email protected]
http://gborg.postgresql.org/mailman/listinfo/slony1-general

Reply via email to