Fix metadata handling for shell command. (#22801)

(cherry picked from commit 042e387f27)
This commit is contained in:
Matt Clay 2017-03-20 15:31:57 -07:00
parent 3f8e8a3390
commit 0c2c19edb4

View file

@ -451,6 +451,7 @@ def filter_options(args, argv, options, exclude, require):
yield '--require'
yield target
if args.metadata_path:
yield '--metadata'
yield args.metadata_path
if isinstance(args, TestConfig):
if args.metadata_path:
yield '--metadata'
yield args.metadata_path