|Did you know ...||Search Documentation:|
:- use_module(library(main)).(can be autoloaded)
no-, in which case the option is mapped to Name(false). Numeric option values are mapped to Prolog numbers.
library(optparse)provides a more involved option library, providing both short and long options, help and error handling. This predicate is more for quick-and-dirty scripts.