Commit 2328133d authored by asanka's avatar asanka Committed by Commit bot

[cr tool] Allow info command to accept '--out' argument.

R=miguelg@chromium.org
BUG=none
TEST=cr info -o out_<foo>/Debug prints the configuration from the
     specified output directory instead of the currently selected
     target.
NOTRY=true

Review URL: https://codereview.chromium.org/597553003

Cr-Commit-Position: refs/heads/master@{#297442}
parent 791e8db0
......@@ -27,6 +27,7 @@ class InfoCommand(cr.Command):
def EarlyArgProcessing(self):
if getattr(cr.context.args, '_short', False):
self.requires_build_dir = False
cr.Command.EarlyArgProcessing(self)
def Run(self):
if cr.context.remains:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment