NetworkPkg: Support print help information using -? command.
v2: *Modify the logic of show SAD,SPD and PAD help info, include them in -? instead of follow -p command. Since Shell supports finding help information from resource section of application image. We modify the Shell application Under NetworkPkg to support print help information string using -? command. Cc: Fu Siyuan <siyuan.fu@intel.com> Cc: Ye Ting <ting.ye@intel.com> Cc: Wu Jiaxin <jiaxin.wu@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Zhang Lubo <lubo.zhang@intel.com> Reviewed-by: Jiaxin Wu <jiaxin.wu@intel.com> Reviewed-by: Fu Siyuan <siyuan.fu@intel.com>
This commit is contained in:
@@ -25,6 +25,12 @@
|
||||
ENTRY_POINT = InitializeIpSecConfig
|
||||
MODULE_UNI_FILE = IpSecConfig.uni
|
||||
|
||||
#
|
||||
#
|
||||
# This flag specifies whether HII resource section is generated into PE image.
|
||||
#
|
||||
UEFI_HII_RESOURCE_SECTION = TRUE
|
||||
|
||||
[Sources]
|
||||
IpSecConfigStrings.uni
|
||||
IpSecConfig.c
|
||||
@@ -52,6 +58,7 @@
|
||||
[LibraryClasses]
|
||||
UefiBootServicesTableLib
|
||||
UefiApplicationEntryPoint
|
||||
UefiHiiServicesLib
|
||||
BaseMemoryLib
|
||||
ShellLib
|
||||
MemoryAllocationLib
|
||||
@@ -63,6 +70,7 @@
|
||||
[Protocols]
|
||||
gEfiIpSec2ProtocolGuid ##CONSUMES
|
||||
gEfiIpSecConfigProtocolGuid ##CONSUMES
|
||||
gEfiHiiPackageListProtocolGuid ##CONSUMES
|
||||
|
||||
[UserExtensions.TianoCore."ExtraFiles"]
|
||||
IpSecConfigExtra.uni
|
||||
|
Reference in New Issue
Block a user