Re: make createlang match docs

Поиск
Список
Период
Сортировка
От Marko Kreen
Тема Re: make createlang match docs
Дата
Msg-id 20011212233729.GA5865@l-t.ee
обсуждение исходный текст
Ответ на Re: make createlang match docs  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-patches
On Wed, Dec 12, 2001 at 03:40:30PM -0500, Tom Lane wrote:
> Marko Kreen <marko@l-t.ee> writes:
> > * make createlang match docs: "createlang dbname" did not work.
>
> Unless you can demonstrate that createlang changed behavior recently,
> this is the wrong fix.  Breaking existing scripts that use createlang
> is not the way to go; fixing the documentation to match the code is
> the way to go.

in app-createlang.html:
Synopsis

    createlang [connection-options...] [langname] dbname

    createlang [connection-options...] --list | -l dbname

---

    $ createlang --help
    ...
    Usage:
      createlang [options] [langname] dbname
    ....
    $ createlang foo
    createlang: missing required argument database name
    Try 'createlang -?' for help.
    $

With my patch:

    $  createlang foo
    Language to install in database foo:

I would say 'createlang foo' has been error-message-only command
all the 7.x.x, so it should not break anything.

What way the docs should be changed?

--
marko


В списке pgsql-patches по дате отправления:

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: make createlang match docs
Следующее
От: Marko Kreen
Дата:
Сообщение: Re: make createlang match docs