Changeset 128:7cd965d2257f in lemon-main for demo
- Timestamp:
- 04/03/08 12:10:49 (17 years ago)
- Branch:
- default
- Phase:
- public
- Location:
- demo
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
demo/Makefile.am
r85 r128 5 5 6 6 noinst_PROGRAMS += \ 7 demo/arg_parser_demo 7 demo/arg_parser_demo \ 8 demo/graph_to_eps_demo 8 9 9 10 endif WANT_DEMO … … 11 12 demo_arg_parser_demo_SOURCES = demo/arg_parser_demo.cc 12 13 14 demo_graph_to_eps_demo_SOURCES = demo/graph_to_eps_demo.cc 15 -
demo/arg_parser_demo.cc
r88 r128 38 38 ap.refOption("n", "An integer input.", i, true) 39 39 .refOption("val", "A double input.", d) 40 .doubleOption("val2", "A double input.", d) 40 41 .synonym("vals","val") 41 42 .refOption("name", "A string input.", s) … … 46 47 .refOption("grc","Choice C",g3) 47 48 .optionGroup("gr","gra") 48 .optionGroup("gr","grb ")49 .optionGroup("gr","grbkk") 49 50 .optionGroup("gr","grc") 50 51 .mandatoryGroup("gr")
Note: See TracChangeset
for help on using the changeset viewer.