summaryrefslogtreecommitdiff
path: root/ShellPkg/Library/UefiShellAcpiViewCommandLib/UefiShellAcpiViewCommandLib.uni
diff options
context:
space:
mode:
authorKrzysztof Koch <krzysztof.koch@arm.com>2019-06-28 16:57:00 +0800
committerRay Ni <ray.ni@intel.com>2019-07-02 17:22:46 +0800
commit4286eb22f4aec33b90574b998a31f8bd34dd4f47 (patch)
tree61aa895cb7335052ecee3a0c178f105508917489 /ShellPkg/Library/UefiShellAcpiViewCommandLib/UefiShellAcpiViewCommandLib.uni
parent5ed3b5624f91b2738a90598ea8a9c085cfab851e (diff)
downloadedk2-4286eb22f4aec33b90574b998a31f8bd34dd4f47.zip
edk2-4286eb22f4aec33b90574b998a31f8bd34dd4f47.tar.gz
edk2-4286eb22f4aec33b90574b998a31f8bd34dd4f47.tar.bz2
ShellPkg: acpiview: Make '-h' option not require a parameter
Make the -h command line option a binary flag. Now, colour highlighting is enabled whenever this flag is set (stateless), instead of being dependent on previous acpiview command invocations. By removing the parameter required with the -h flag the command line parsing logic becomes simpler. Signed-off-by: Krzysztof Koch <krzysztof.koch@arm.com> Reviewed-by: Alexei Fedorov <Alexei.Fedorov@arm.com> Reviewed-by: Zhichao Gao <zhichao.gao@intel.com> Reviewed-by: Sami Mujawar <sami.mujawar@arm.com>
Diffstat (limited to 'ShellPkg/Library/UefiShellAcpiViewCommandLib/UefiShellAcpiViewCommandLib.uni')
-rw-r--r--ShellPkg/Library/UefiShellAcpiViewCommandLib/UefiShellAcpiViewCommandLib.uni6
1 files changed, 2 insertions, 4 deletions
diff --git a/ShellPkg/Library/UefiShellAcpiViewCommandLib/UefiShellAcpiViewCommandLib.uni b/ShellPkg/Library/UefiShellAcpiViewCommandLib/UefiShellAcpiViewCommandLib.uni
index 0d10b5d..1f07b7a 100644
--- a/ShellPkg/Library/UefiShellAcpiViewCommandLib/UefiShellAcpiViewCommandLib.uni
+++ b/ShellPkg/Library/UefiShellAcpiViewCommandLib/UefiShellAcpiViewCommandLib.uni
@@ -30,7 +30,7 @@
"Display ACPI Table information.\r\n"
".SH SYNOPSIS\r\n"
" \r\n"
-"ACPIVIEW [[-?] | [[-l] | [-s AcpiTable [-d]]] [-q] [-h Highlight]]\r\n"
+"ACPIVIEW [[-?] | [[-l] | [-s AcpiTable [-d]]] [-q] [-h]]\r\n"
" \r\n"
".SH OPTIONS\r\n"
" \r\n"
@@ -40,9 +40,7 @@
" AcpiTable : The required ACPI Table type.\r\n"
" -d - Generate a binary file dump of the specified AcpiTable.\r\n"
" -q - Quiet. Suppress errors and warnings. Disables consistency checks.\r\n"
-" -h - Enable/Disable Colour Highlighting.\r\n"
-" Highlight : TRUE/ON enables highlighting;\r\n"
-" FALSE/OFF (default) disables highlighting.\r\n"
+" -h - Enable colour highlighting.\r\n"
" -? - Show help.\r\n"
" \r\n"
".SH DESCRIPTION\r\n"