]> git.proxmox.com Git - mirror_edk2.git/commit
ShellPkg: Add check for "dump" parameter in "bcfg" command
authorDandan Bi <dandan.bi@intel.com>
Thu, 25 Aug 2016 01:37:05 +0000 (09:37 +0800)
committerRuiyu Ni <ruiyu.ni@intel.com>
Thu, 1 Sep 2016 08:38:06 +0000 (16:38 +0800)
commitd653d8062e48480a3ec689d688343306bb102b73
treeb5c2d3af74934d4c3af5b1f6e4fc124d1796b3bc
parent950a3bc788b5b101729b26aed3ff75fd2a64a570
ShellPkg: Add check for "dump" parameter in "bcfg" command

When user uses the command "bcfg driver|boot [dump [-v]]",
the number of command line value parameters (doesn't include the
flag) must be three. We can add this point to check whether using
this 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>
ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.c
ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.uni