A.31.1 Notes and tips
All
Application
Manual
Name
Summary
Help
Documentation
Reference manual
The SWI-Prolog library
library(optparse): command line parsing
Notes and tips
opt_arguments/3
opt_parse/4
opt_parse/5
opt_help/2
parse_type/3
Packages
Availability:
:- use_module(
library(optparse)
).
(can be autoloaded)
[det]
opt_parse
(
+OptsSpec, +ApplArgs, -Opts, -PositionalArgs
)
Equivalent to
opt_parse(OptsSpec, ApplArgs, Opts, PositionalArgs, [])
.