Skip to content

Commit

Permalink
use $load and keyed new for Getopt Obj in setup
Browse files Browse the repository at this point in the history
  • Loading branch information
NotFound committed Sep 14, 2010
1 parent c92848e commit 785cd6a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions setup.winxed
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ Handle with care. See DESCRIPTION.
=cut
*/

$load 'Getopt/Obj.pbc';

//**********************************************************************

// Json file read.
Expand All @@ -39,8 +41,7 @@ function loadData(string filename)
function main(argv)
{
// Parse command line.
using extern Getopt.Obj;
var getopts = new Getopt.Obj();
var getopts = new ['Getopt','Obj'];
getopts.notOptStop(1);
getopts.push_string('file=s');
getopts.push_string('v');
Expand Down

0 comments on commit 785cd6a

Please sign in to comment.