Thread: Bug on pgAdmin III commit: Add a -V/--version CLI option?
Hi,
Was reading recent changes to pgAdmin, and this commit seems to have a minor bug:
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
On Fri, 2013-01-11 at 15:40 +0000, José Pedro wrote: > 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? > You're right. It's fixed now. Thanks. -- Guillaume http://blog.guillaume.lelarge.info http://www.dalibo.com