Skip site navigation (1) Skip section navigation (2)

Re: "--version" flag missing from man pages

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Josh Kupershmidt <schmiddy(at)gmail(dot)com>
Cc: pgsql-docs(at)postgresql(dot)org
Subject: Re: "--version" flag missing from man pages
Date: 2010-02-19 14:37:41
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-docs
Josh Kupershmidt wrote:
> I noticed that the "--version" flag is not in the man pages for pg_dump,
> pg_dumpall, initdb, and various other commands. Out of all the files in
> ./doc/src/sgml/ref/ , I can see only these three which have "--version"
> listed:
>   josh(at)hades:~/src/postgresql/doc/src/sgml/ref$ grep "\-\-version" *.sgml
>   ecpg-ref.sgml:     <term><option>--version</option></term>
>   pg_config-ref.sgml:     <term><option>--version</option></>
>   psql-ref.sgml:      <term><option>--version</></term>
> Yet many other commands support a -V or --version flag which isn't in their
> man pages.
>   $ initdb --version
>   initdb (PostgreSQL) 8.5devel

Interesting, I never noticed they were not documented.  I have applied
the attached patch which adds documentation for those options.  These
new documentation changes will appear in Postgres 9.0

  Bruce Momjian  <bruce(at)momjian(dot)us>

  + If your life is a hard drive, Christ can be your backup. +

Attachment: /rtmp/diff
Description: text/x-diff (18.9 KB)

In response to

pgsql-docs by date

Next:From: Richard HuxtonDate: 2010-02-19 14:37:46
Subject: RFC - Navigation menu for documents (2nd attempt)
Previous:From: Andrew DunstanDate: 2010-02-19 14:01:16
Subject: Re: RFC - Navigation menu for documents

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group