]> git.proxmox.com Git - mirror_edk2.git/commit - ShellPkg/Library/UefiShellLevel3CommandsLib/Ver.c
ShellPkg: handle '-t or -terse' and '-s' flags for 'ver' command properly
authorTapan Shah <tapandshah@hpe.com>
Mon, 24 Oct 2016 16:56:37 +0000 (09:56 -0700)
committerJaben Carsey <jaben.carsey@intel.com>
Mon, 24 Oct 2016 17:27:08 +0000 (10:27 -0700)
commit9d54bf4e7ef13fc0d8ccb954d106fc6ff29dd8ea
treea067db3a514ad639bd256bb98e6857ffbe77c490
parent60d9f5f43bbb7e0a859c1f744a20cee88af9c863
ShellPkg: handle '-t or -terse' and '-s' flags for 'ver' command properly

'-t or -terse' and '-s' flags are multiple exclusive
So when both flags are used together, command should report an error message.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Tapan Shah <tapandshah@hpe.com>
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
ShellPkg/Library/UefiShellLevel3CommandsLib/Ver.c