diff options
author | Brendan Jackman <Brendan.Jackman@arm.com> | 2014-03-10 18:13:13 +0000 |
---|---|---|
committer | jcarsey <jcarsey@6f19259b-4bc3-4df7-8a09-765794883524> | 2014-03-10 18:13:13 +0000 |
commit | 0698723204155fd5b9710e6a1de445782443b191 (patch) | |
tree | e8c12ef94db2a56ad4ddba6e6f1b2fe02ed0b08e /ArmPlatformPkg/FileSystem/BootMonFs/BootMonFsOpenClose.c | |
parent | 207256b79bf296c5db4d77c729ae79c63819e620 (diff) | |
download | edk2-platforms-0698723204155fd5b9710e6a1de445782443b191.tar.xz |
ShellPkg: ShellCommands/SetVar: Make '-rt' imply '-bs'
It's invalid to set a variable that's available from runtime services but not
from boot services.
Currently if you pass '-rt' without '-bs' you get a generic
'Invalid Parameter' message. We should either print a more useful message in
this case, or make '-rt' imply '-bs' (as this patch does). The Shell Spec is
ambiguous on the matter.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Brendan Jackman <Brendan.Jackman@arm.com>
Reviewed-By: Olivier Martin <olivier.martin@arm.com>
Reviewed-By: Jaben Carsey <jaben.carsey@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15323 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'ArmPlatformPkg/FileSystem/BootMonFs/BootMonFsOpenClose.c')
0 files changed, 0 insertions, 0 deletions