The -var-update MI command should take the same print-values options as var-list children, however currently only the integer versions are supported.
Added --no-values, --all-values, and --simple-values long options.
Patch from ewan@codeplay.com
Differential D8008
Added long 'print-values' option for var-update MI command. ki.stfu on Mar 2 2015, 8:56 AM. Authored by
Details The -var-update MI command should take the same print-values options as var-list children, however currently only the integer versions are supported. Patch from ewan@codeplay.com
Diff Detail
Event TimelineComment Actions See my comments.
Comment Actions Thanks for the comments ki.stfu. My understanding of MIFormResponse() is that it is only called from CMICmdCmdVarUpdate::Execute() when there are composite types, in which case we wouldn't print the values for --simple-values. So we only need to check for --all-values and can ignore --simple-values. I'll add a check --simple-value to CMICmdCmdVarUpdate::Acknowledge() though, to print values for when m_bValueChangedNormalType is set.
|
I think it should be pArgNoValues/pArgAllValues/pArgSimpleValues (aka --no-value*s*/--all-value*s*/--simple-value*s*)