Thread: unrecognized option '--help' Try "vacuumdb --help" for more information

unrecognized option '--help' Try "vacuumdb --help" for more information

From
Justin Pryzby
Date:
Tools only accept --help, except as a first argument.

Maybe this is a long standing tradition, but at first glance I couldn't find
that it was a "wontfix" problem (perhaps for its amusement value?).

[pryzbyj@sentinel-centos6 ~]$ vacuumdb -a --help
vacuumdb: unrecognized option '--help'
Try "vacuumdb --help" for more information.

[pryzbyj@sentinel-centos6 ~]$ vacuumdb --help -a 2>&1 |sed q
vacuumdb cleans and analyzes a PostgreSQL database.

[pryzbyj@sentinel-centos6 ~]$ vacuumdb -V
vacuumdb (PostgreSQL) 9.6beta3

Re: unrecognized option '--help' Try "vacuumdb --help" for more information

From
Justin Pryzby
Date:
On Tue, Jul 26, 2016 at 05:39:17PM -0500, Justin Pryzby wrote:
> Tools only accept --help, except as a first argument.
>
> Maybe this is a long standing tradition, but at first glance I couldn't find
> that it was a "wontfix" problem (perhaps for its amusement value?).

Nevermind, dashes were confusing google:
https://www.postgresql.org/message-id/CAMxZ7XVcN0hEx9uaqv0Q%2BbgyPUBOwJ3Cau2ju1Xgf0j8RL5nxg@mail.gmail.com
https://www.postgresql.org/message-id/20150403224544.GI17586@awork2.anarazel.de