Skip to content

Commit

Permalink
ShellPkg: acpiview: Remove '/?' from valid command line flags
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
KrzysztofKoch1 committed Jun 28, 2019
1 parent 48fdf9a commit 55cb307
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions ShellPkg/Library/UefiShellAcpiViewCommandLib/AcpiView.c
Original file line number Diff line number Diff line change
@@ -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
**/

Expand Down Expand Up @@ -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},
Expand Down

0 comments on commit 55cb307

Please sign in to comment.