audk/ShellPkg/Library/UefiShellDriver1CommandsLib
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
..
Connect.c ShellPkg: Support connect a device handle recursively with '-r'. 2016-04-21 09:28:49 +08:00
DevTree.c ShellPkg/DevTree: Handle memory allocation failure 2016-07-18 10:55:38 +08:00
Devices.c ShellPkg: Standardized HP Copyright Message String 2015-02-04 22:25:01 +00:00
Dh.c ShellPkg: Standardized HP Copyright Message String 2015-02-04 22:25:01 +00:00
Disconnect.c ShellPkg: Standardized HP Copyright Message String 2015-02-04 22:25:01 +00:00
Drivers.c ShellPkg: Fix 'drivers' assert issue for a driver name longer than 35 characters. 2015-08-05 00:53:10 +00:00
DrvCfg.c ShellPkg: Add the check of parameter number in "DrvCfg" command 2016-09-01 16:38:06 +08:00
DrvDiag.c ShellPkg/DrvDiag: Fix a critical typo bug 2016-07-25 10:20:12 +08:00
OpenInfo.c ShellPkg: Standardized HP Copyright Message String 2015-02-04 22:25:01 +00:00
Reconnect.c ShellPkg: Fix a command line unicode string type. 2015-09-16 08:20:27 +00:00
UefiShellDriver1CommandsLib.c
UefiShellDriver1CommandsLib.h ShellPkg: Connect all the consoles in "reconnect -r". 2014-12-04 01:18:04 +00:00
UefiShellDriver1CommandsLib.inf ShellPkg: Update Guid/Protocol usages in INF files. 2016-04-13 14:52:59 +08:00
UefiShellDriver1CommandsLib.uni ShellPkg: Convert all .uni files to utf-8 2015-12-09 23:07:58 +00:00
Unload.c ShellPkg: Standardized HP Copyright Message String 2015-02-04 22:25:01 +00:00