diff --git a/docs/CommandLine.html b/docs/CommandLine.html index abc6eb6823e..8cc2dc8b585 100644 --- a/docs/CommandLine.html +++ b/docs/CommandLine.html @@ -919,7 +919,12 @@ example.

  • The cl::init attribute specifies an inital value for a scalar option. If this attribute is not specified then the command line option value defaults to the value created -by the default constructor for the type.

    +by the default constructor for the type. Warning: If you specify both +cl::init and cl::location for an option, +you must specify cl::location first, so that when the +command-line parser sees cl::init, it knows where to put the +initial value. (You will get an error at runtime if you don't put them in +the right order.)

  • The cl::location attribute where to store the value for a parsed command line option if using external storage. See