Re: [edk2] [patch] ShellPkg: Add the check of parameter number in "DrvCfg" command

2016-08-31 Thread Ni, Ruiyu
Reviewed-by: Ruiyu Ni > -Original Message- > From: Bi, Dandan > Sent: Wednesday, August 31, 2016 1:27 PM > To: edk2-devel@lists.01.org > Cc: Ni, Ruiyu ; Carsey, Jaben > Subject: [patch] ShellPkg: Add the check of parameter number in "DrvCfg" > command > > In shell spec, the usage of "D

Re: [edk2] [patch] ShellPkg: Add the check of parameter number in "DrvCfg" command

2016-08-31 Thread Carsey, Jaben
2016 12:27 AM > To: edk2-devel@lists.01.org > Cc: Ruiyu Ni ; Jaben Carsey > Subject: [edk2] [patch] ShellPkg: Add the check of parameter number in > "DrvCfg" command > > In shell spec, the usage of "Drvcfg" command is: drvcfg [-l XXX] [-c] [-f > |-v|-s]

Re: [edk2] [patch] ShellPkg: Add the check of parameter number in "DrvCfg" command

2016-08-31 Thread Shah, Tapan
Reviewed-by: Tapan Shah -Original Message- From: edk2-devel [mailto:edk2-devel-boun...@lists.01.org] On Behalf Of Dandan Bi Sent: Wednesday, August 31, 2016 12:27 AM To: edk2-devel@lists.01.org Cc: Ruiyu Ni ; Jaben Carsey Subject: [edk2] [patch] ShellPkg: Add the check of parameter

[edk2] [patch] ShellPkg: Add the check of parameter number in "DrvCfg" command

2016-08-30 Thread Dandan Bi
In shell spec, the usage of "Drvcfg" command is: drvcfg [-l XXX] [-c] [-f |-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. Cc: Ruiyu