summaryrefslogtreecommitdiffstats
path: root/ShellPkg
diff options
context:
space:
mode:
authorKrzysztof Koch <krzysztof.koch@arm.com>2019-06-28 16:56:56 +0800
committerRay Ni <ray.ni@intel.com>2019-07-02 17:21:59 +0800
commit6d9603713c41708fa0a77270a50a0bec525c4607 (patch)
treef3c3c93d9052e683662885a08917ff93cca4b78c /ShellPkg
parent5a27f7a237ae5add1ccb653228ee6f5ef2975c9e (diff)
downloadedk2-6d9603713c41708fa0a77270a50a0bec525c4607.tar.gz
edk2-6d9603713c41708fa0a77270a50a0bec525c4607.tar.bz2
edk2-6d9603713c41708fa0a77270a50a0bec525c4607.zip
ShellPkg: acpiview: Remove '/?' from valid command line flags
Acpiview currently allows displaying help info by specifying both -? and /? flags. This patch removes /? from valid command line flags that can be passed to the acpiview tool, as this flag is not used for such purpose in other UEFI shell commands. 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')
-rw-r--r--ShellPkg/Library/UefiShellAcpiViewCommandLib/AcpiView.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/ShellPkg/Library/UefiShellAcpiViewCommandLib/AcpiView.c b/ShellPkg/Library/UefiShellAcpiViewCommandLib/AcpiView.c
index 25d6115832..9bbb00caca 100644
--- a/ShellPkg/Library/UefiShellAcpiViewCommandLib/AcpiView.c
+++ b/ShellPkg/Library/UefiShellAcpiViewCommandLib/AcpiView.c
@@ -1,6 +1,6 @@
/** @file
- Copyright (c) 2016 - 2018, ARM Limited. All rights reserved.
+ Copyright (c) 2016 - 2019, ARM Limited. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
@@ -33,7 +33,6 @@ STATIC BOOLEAN mColourHighlighting;
An array of acpiview command line parameters.
**/
STATIC CONST SHELL_PARAM_ITEM ParamList[] = {
- {L"/?", TypeFlag},
{L"-c", TypeFlag},
{L"-d", TypeFlag},
{L"-h", TypeValue},