mirror of https://github.com/acidanthera/audk.git
e9597b4519
The patch adds the "-sfo" support to "dmpstore" command. When -l or -d is specified, -sfo is not supported. When the variable specified by name and GUID cannot be found, an error message is displayed; Otherwise, the SFO is displayed. E.g.: "dmpstore -guid GuidThatDoesntExist -sfo" produces output as: ShellCommand,"dmpstore" VariableInfo,"","GuidThatDoesntExist","","","" "dmpstore NameThatDoesntExist -guid GuidThatDoesntExist -sfo" produces output as: ShellCommand,"dmpstore" dmpstore: No matching variables found. Guid GuidThatDoesntExist, Name NameThatDoesntExist The difference between the above 2 cases is that former one only specifies the GUID, but the latter one specifies both name and GUID. Since not specifying GUID means to use GlobalVariableGuid, "dmpstore NameThatDoesntExist -sfo" produces the similar output as latter one. I personally prefer to always produce SFO output for both cases. But the above behavior is the discussion result between HPE engineers. Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com> Signed-off-by: Chen A Chen <chen.a.chen@intel.com> Reviewed-by: Jaben Carsey <jaben.carsey@intel.com> Reviewed-by: Tapan Shah <tapandshah@hpe.com> |
||
---|---|---|
.. | ||
UefiDpLib | ||
UefiHandleParsingLib | ||
UefiShellBcfgCommandLib | ||
UefiShellCEntryLib | ||
UefiShellCommandLib | ||
UefiShellDebug1CommandsLib | ||
UefiShellDriver1CommandsLib | ||
UefiShellInstall1CommandsLib | ||
UefiShellLevel1CommandsLib | ||
UefiShellLevel2CommandsLib | ||
UefiShellLevel3CommandsLib | ||
UefiShellLib | ||
UefiShellNetwork1CommandsLib | ||
UefiShellNetwork2CommandsLib | ||
UefiShellTftpCommandLib |