Dear ShellPkg maintainer,

 

Please find the attached patch that makes '-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 <[email protected]>

Reviewed-By: Olivier Martin <[email protected]>

Regards,

Olivier

Attachment: ShellCommands-SetVar-Make-rt-imply-bs.patch
Description: Binary data

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to