Lets your program accept command-line options with long names, introduced by -- . Standard single-character options are also accepted. Options that start with -- may have an argument appended, following a space or an equals sign ( = ):
--
=
--foo=bar --foo bar
GetOptions
config
Copyright © 2001 O'Reilly & Associates. All rights reserved.