5 method color:int*int*int
7 method main_class:string
9 method use_network:bool
12 module M = OptParseUtil.Make(
16 ~version:Config.version
17 ~usage:"habc-link [options] <file>" ()
27 ~help:"Set stage width by twips" ()
35 ~help:"Set stage height by pixel" ()
40 ~metavar:"<main_class>"
43 ~help:"Set main class" ()
48 ~metavar:"<output swf>"
51 ~help:"Set output name" ()
58 ~help:"stage background color(red)" ()
65 ~help:"stage background color(green)" ()
72 ~help:"stage background color(blue)" ()
77 ~long_name:"use-network"
78 ~help:"Set use_network option" ()
82 OptParser.parse ~first:1 opt_parser argv in
84 color = (Opt.get red, Opt.get green, Opt.get blue);
85 main_class = Opt.get main_class;
86 size = (Opt.get width, Opt.get height);
87 output = Opt.get output;
88 use_network = Opt.get use_network