Also at http://www.d-programming-language.org/phobos/std_getopt.html I get Depending on the type of the pointer being bound, getopt recognizes the following kinds of options: (OL // <--- Boolean options. These are the simplest options; all they do is set a Boolean to true: