21 Nov
2005
21 Nov
'05
11:14 p.m.
Hi Merrill, before you commit suicide, what's the exception message? Can you try this: unsigned int nLimit = 1; desc.add_options() ("help,h", " Display this help message.") ("version", " Display the version... .") ("limit", po::value<unsigned int>( &nLimit )->default_value(1), " This is the concurrency limit ...") ); Note the use of a local variable "nLimit" that gets the limit value from the command line. Greets, Christian