Bug on pgAdmin III commit: Add a -V/--version CLI option?

From: José Pedro <jgpedro(at)gmail(dot)com>
To: pgadmin-support(at)postgresql(dot)org
Subject: Bug on pgAdmin III commit: Add a -V/--version CLI option?
Date: 2013-01-11 15:40:19
Message-ID: CAB5v9Yu+OOi-ec9sj0wK6P4fb_fcisNQvHbvsuSbOyUf7V2xrA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

Hi,

Was reading recent changes to pgAdmin, and this commit seems to have a
minor bug:

http://archives.postgresql.org/pgadmin-hackers/2013-01/msg00013.php

http://git.postgresql.org/gitweb?p=pgadmin3.git;a=commitdiff;h=0729c5dbd6f3d22031e57c79527ba6be024f7c26

On line 277:

276 {wxCMD_LINE_SWITCH, "v", "version", _("show the version, and
quit"), wxCMD_LINE_VAL_NONE},
277 {wxCMD_LINE_SWITCH, "h", "help", _("show this help message,
and quit"), wxCMD_LINE_VAL_NONE, wxCMD_LINE_OPTION_HELP },

On line 295

294 {wxCMD_LINE_SWITCH, wxT("v"), wxT("version"), _("show the
version, and quit"), wxCMD_LINE_VAL_NONE},
295 {wxCMD_LINE_SWITCH, wxT("h"), wxT("help"), _("show the
version, and quit"), wxCMD_LINE_VAL_NONE, wxCMD_LINE_OPTION_HELP },

Should't this line read "show this help message, and quit", like line 277
above?

Regards,
-jgp

Responses

Browse pgadmin-support by date

  From Date Subject
Next Message Jeff Janes 2013-01-13 19:08:28 using tab delimiter for csv format import
Previous Message Kanitchet Vaiassava 2013-01-10 10:00:11 Possible bug report (comment on database disappered on pgAdmin 1.16.1)