diff options
author | Ruiyu Ni <ruiyu.ni@intel.com> | 2018-02-11 23:17:22 +0800 |
---|---|---|
committer | Ruiyu Ni <ruiyu.ni@intel.com> | 2018-02-13 10:54:44 +0800 |
commit | 0a54cd4431c31ab2e72d880a55c31dd08f971cc4 (patch) | |
tree | 0c610bada2bfa636b0fc7b6f1658af072e676097 /IntelFsp2Pkg | |
parent | ae957a59f7b6f3e9144544db6721bc3e6aab6ee3 (diff) | |
download | edk2-0a54cd4431c31ab2e72d880a55c31dd08f971cc4.zip edk2-0a54cd4431c31ab2e72d880a55c31dd08f971cc4.tar.gz edk2-0a54cd4431c31ab2e72d880a55c31dd08f971cc4.tar.bz2 |
ShellPkg/help: Fix "-?" may not show manual sometimes
Shell core was enhanced to find the manual string in PE resource
section. But the finding algorithm is too strict: If the manual is
written beginning with:
.TH command 0 "descripton of command"
but user types "COMMAND.efi -?". The finding algorithm uses
case-sensitive compare between "command" and "COMMAND" resulting
in the manual cannot be found.
The patch fixes this issue by using existing ManFileFindTitleSection
and ManFileFindSections which compare command case-insensitive.
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
Diffstat (limited to 'IntelFsp2Pkg')
0 files changed, 0 insertions, 0 deletions