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