audk/ShellPkg/Library
Dandan Bi c6fc823413 ShellPkg: Add the check of parameter number in "DrvCfg" command
In shell spec, the usage of "Drvcfg" command is: drvcfg [-l XXX] [-c]
[-f <Type>|-v|-s] [DriverHandle [DeviceHandle [ChildHandle]]]
[-i filename] [-o filename]. The parameter number(doesn't include the flags)
cannot exceed 4, now we add this point to check whether using the command
correctly.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Dandan Bi <dandan.bi@intel.com>
Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
Reviewed-by: Tapan Shah <tapandshah@hpe.com>
2016-09-01 16:38:06 +08:00
..
UefiDpLib ShellPkg/Dp: Handle memory allocation failure 2016-07-18 10:55:08 +08:00
UefiHandleParsingLib ShellPkg: Correct files with CRLF line ending 2016-07-29 09:18:12 +08:00
UefiShellBcfgCommandLib ShellPkg: Add check for "dump" parameter in "bcfg" command 2016-09-01 16:38:06 +08:00
UefiShellCEntryLib ShellPkg: Refine the fomat in INF/DEC files to follow spec. 2015-01-22 01:44:11 +00:00
UefiShellCommandLib Revert "ShellPkg: Move FindFirstCharacter/GetNextParameter to ShellCommandLib" 2016-08-25 13:00:47 +08:00
UefiShellDebug1CommandsLib ShellPkg SmbiosView: Show "SocketDesignation" instead of "Socket" for Type 4 2016-08-08 17:00:20 +08:00
UefiShellDriver1CommandsLib ShellPkg: Add the check of parameter number in "DrvCfg" command 2016-09-01 16:38:06 +08:00
UefiShellInstall1CommandsLib Revert "ShellPkg : Add UEFI_APPLICATION module type to UefiShellInstall1CommandsLib.inf" 2016-01-06 16:23:20 +00:00
UefiShellLevel1CommandsLib ShellPkg/If: Fix issue to pass static code checker 2016-07-25 10:20:13 +08:00
UefiShellLevel2CommandsLib ShellPkg/Ls: Handle the case when SearchString is NULL 2016-08-17 13:44:51 +08:00
UefiShellLevel3CommandsLib Revert "ShellPkg: Fix echo to support displaying special characters" 2016-08-25 13:00:42 +08:00
UefiShellLib ShellPkg/UefiShellLib.c: Handle memory allocation failure 2016-07-18 11:04:16 +08:00
UefiShellNetwork1CommandsLib ShellPkg/IfConfig: Handle memory allocation failure 2016-07-18 11:04:13 +08:00
UefiShellNetwork2CommandsLib ShellPkg/Ping6: Handle memory allocation failure 2016-07-18 11:04:22 +08:00
UefiShellTftpCommandLib ShellPkg-UefiShellTftpCommandLib: Replace compiler builtin 2016-08-10 12:56:37 +08:00