mirror of https://github.com/acidanthera/audk.git
ShellPkg: acpiview: Remove '-v' flag from allowed command line args
According to the acpiview documentation, the -v flag enables verbose output and it is set on default. Moreover, the acpiview UEFI shell tool dumps the same output with and without this flag set. Therefore this patch removes the superfluous -v flag from allowed command line parameters. 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>
This commit is contained in:
parent
f17dad04ed
commit
687546ddd5
|
@ -25,7 +25,6 @@ STATIC BOOLEAN mSelectedAcpiTableFound;
|
|||
STATIC EREPORT_OPTION mReportType;
|
||||
STATIC UINT32 mTableCount;
|
||||
STATIC UINT32 mBinTableCount;
|
||||
STATIC BOOLEAN mVerbose;
|
||||
STATIC BOOLEAN mConsistencyCheck;
|
||||
STATIC BOOLEAN mColourHighlighting;
|
||||
|
||||
|
@ -38,7 +37,6 @@ STATIC CONST SHELL_PARAM_ITEM ParamList[] = {
|
|||
{L"-h", TypeValue},
|
||||
{L"-l", TypeFlag},
|
||||
{L"-s", TypeValue},
|
||||
{L"-v", TypeFlag},
|
||||
{NULL, TypeMax}
|
||||
};
|
||||
|
||||
|
@ -472,7 +470,6 @@ ShellCommandRunAcpiView (
|
|||
mSelectedAcpiTable = 0;
|
||||
mSelectedAcpiTableName = NULL;
|
||||
mSelectedAcpiTableFound = FALSE;
|
||||
mVerbose = TRUE;
|
||||
mConsistencyCheck = TRUE;
|
||||
|
||||
ShellStatus = SHELL_SUCCESS;
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
"Display ACPI Table information.\r\n"
|
||||
".SH SYNOPSIS\r\n"
|
||||
" \r\n"
|
||||
"ACPIVIEW [[-?] | [[-l] | [-s AcpiTable [-d]]] [-q] [-v] [-h Highlight]]\r\n"
|
||||
"ACPIVIEW [[-?] | [[-l] | [-s AcpiTable [-d]]] [-q] [-h Highlight]]\r\n"
|
||||
" \r\n"
|
||||
".SH OPTIONS\r\n"
|
||||
" \r\n"
|
||||
|
@ -40,7 +40,6 @@
|
|||
" 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"
|
||||
" -v - Display verbose data (enabled by default).\r\n"
|
||||
" -h - Enable/Disable Colour Highlighting.\r\n"
|
||||
" Highlight : TRUE/ON enables highlighting;\r\n"
|
||||
" FALSE/OFF (default) disables highlighting.\r\n"
|
||||
|
|
Loading…
Reference in New Issue