audk/ShellPkg
Ruiyu Ni 0a54cd4431 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>
2018-02-13 10:54:44 +08:00
..
Application ShellPkg/help: Fix "-?" may not show manual sometimes 2018-02-13 10:54:44 +08:00
DynamicCommand ShellPkg/DP: Update the error message info 2018-02-09 17:04:16 +08:00
Include ShellPkg: Rename gShellCurDir to gShellCurMapping 2017-08-30 11:42:41 +08:00
Library ShellPkg/rm: fix hang when deleting an absolutely-empty directory 2018-02-09 12:24:55 +08:00
ShellPkg.dec ShellPkg: Update package version from 1.01 to 1.02 2018-01-26 10:08:55 +08:00
ShellPkg.dsc ShellPkg: Update package version from 1.01 to 1.02 2018-01-26 10:08:55 +08:00