parrotcode: demonstrating library/Getopt/Long.imc | |
Contents | Examples |
examples/assembly/getopt_demo.imc - demonstrating library/Getopt/Long.imc
% ./parrot examples/assembly/getopt_demo.imc --help
% ./parrot examples/assembly/getopt_demo.imc --version
% ./parrot examples/assembly/getopt_demo.imc --string=asdf --bool --integer=42 some thing
This demo program shows how to handle command line arguments with the PIR library runtime/parrot/library/Getopt/Long.imc.
_main
_usage
Bernhard Schmalhofer <Bernhard.Schmalhofer@gmx.de>
|