From 2d404c88e6c957c369c2524ae0bf0cc7284676f4 Mon Sep 17 00:00:00 2001 From: Qixiang Wan Date: Thu, 15 Dec 2016 18:55:04 +0800 Subject: [PATCH] [pungi-make-ostree] change 'tree' command '--log-dir' arg to be required Signed-off-by: Qixiang Wan --- pungi/ostree/__init__.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pungi/ostree/__init__.py b/pungi/ostree/__init__.py index f5d2055c..4a487bfd 100644 --- a/pungi/ostree/__init__.py +++ b/pungi/ostree/__init__.py @@ -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",