Patch: commandline connect/launch - Mailing list pgadmin-hackers

From Magnus Hagander
Subject Patch: commandline connect/launch
Date
Msg-id 6BCB9D8A16AC4241919521715F4D8BCE92E994@algol.sollentuna.se
Whole thread Raw
Responses Re: Patch: commandline connect/launch
List pgadmin-hackers
Attached patch makes it possibe to specify a server description to
auto-connect to on the commandline ("-s mydbserver"), and also to have
pgAdmin automatically launch the query tool ("-s mydbserver -q"). It
will still open the main window as well, as there seems to be
interaction between the query window and the main one that I'm not fully
understanding yet :)

It also rearranges the commandline parsing to use the wx class for
commandline parsing. It just made things much easier to do it that way.
Hopefully I didn't break anything else :-) As a bonus, there is now a
"/h" for help on commandline args.

Thoughts/comments?

//Magnus


Attachment

pgadmin-hackers by date:

Previous
From: "Magnus Hagander"
Date:
Subject: Copy quoting
Next
From: svn@pgadmin.org
Date:
Subject: SVN Commit by dpage: r4878 - in branches/REL-1_4_0_PATCHES/pgadmin3: . src/frm