AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Paraview microstructure11/7/2023 ![]() vtkCLIOptions handle the parsing (using CLI11), while singletons such as vtkProcessModuleConfiguration, vtkRemotingCoreConfiguration, pqCoreConfiguration maintain the state and also populate vtkCLIOptions with supported flags/options. Instead of a single class that handled the parsing of the defining of command line flags/options, command-line arguments, and then keep state for the flag/option selections, the new design uses two different classes. VtkPVOptions and subclasses are deprecated. ![]() If the option is not specified on the command line, then that denoted environment variable will be used to fetch the value for that option (or flag). Several options support overriding default values using environment variables. Also, in most terminals, the text width is automatically adjusted to the terminal width and text is wrapped to make it easier to read. Mutually exclusive options and deprecated options are clearly marked to minimize confusion. Options are grouped, making it easier to inspect related options together. The -help output for all ParaView executables is now better formatted. Since this conflicts with some of the other more flexible ways of specifying options in CLI11, we limit ourselves to the ways listed above until this legacy behavior is no longer supported. Currently, this is done automatically to avoid disruption and a warning is raised. Instead, one should add use - as the prefix for such options, e.g., -url=. could be used as the prefix for long-named options. This is because ParaView traditionally supported options of form -long=value i.e. Note this is a subset of ways supported by CLI11 itself.
0 Comments
Read More
Leave a Reply. |