[pungi-make-ostree] change 'tree' command '--log-dir' arg to be required

Signed-off-by: Qixiang Wan <qwan@redhat.com>
This commit is contained in:
Qixiang Wan 2016-12-15 18:55:04 +08:00
parent c64f75d1b4
commit 2d404c88e6

View File

@ -30,8 +30,9 @@ def main(args=None):
help='where to put the OSTree repo (required)')
treep.add_argument('--treefile', metavar="FILE", required=True,
help='treefile for rpm-ostree (required)')
treep.add_argument('--log-dir', metavar="DIR",
help='where to log output')
treep.add_argument('--log-dir', metavar="DIR", required=True,
help='where to log output and commitid (required). \
Note: commitid file will be written to this dir')
treep.add_argument('--extra-config', metavar="FILE",
help='JSON file contains extra configurations')
treep.add_argument('--version', metavar="VERSION",