repo manifest: default to stdout if no "-o"

Change-Id: I1b0ff9ed5df6386f0c2a851c6c48d063199fe663
This commit is contained in:
Conley Owens 2012-08-07 10:44:01 -07:00 committed by gerrit code review
parent 3d07da82ab
commit 918ff85c1e

View File

@ -50,6 +50,7 @@ in a Git repository for use during future 'repo init' invocations.
help='Save revisions as current HEAD') help='Save revisions as current HEAD')
p.add_option('-o', '--output-file', p.add_option('-o', '--output-file',
dest='output_file', dest='output_file',
default='-',
help='File to save the manifest to', help='File to save the manifest to',
metavar='-|NAME.xml') metavar='-|NAME.xml')