summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad Bishop <bradleyb@fuzziesquirrel.com>2016-11-09 22:21:18 -0500
committerBrad Bishop <bradleyb@fuzziesquirrel.com>2016-11-12 22:17:10 -0500
commita56c5ffacfbd075220dd13524f2885f305d1fe83 (patch)
treeaf799c0c5819a4d0f7688950581fc1a86534bd8e
parentaa7e6bfe98d25d4aa3c24c07ea1a0a2d659429da (diff)
downloadphosphor-inventory-manager-a56c5ffacfbd075220dd13524f2885f305d1fe83.tar.gz
phosphor-inventory-manager-a56c5ffacfbd075220dd13524f2885f305d1fe83.zip
Fix templatedir argument
The argument is a single template, not a directory. Change-Id: I7a000d9ed09fd445c9ade3388193d5aa190a7809 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
-rwxr-xr-xpimgen.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pimgen.py b/pimgen.py
index 306cc49..1e20aa0 100755
--- a/pimgen.py
+++ b/pimgen.py
@@ -34,7 +34,7 @@ if __name__ == '__main__':
default=os.path.join('example', 'interfaces.yaml'),
help='Location of interface file.'),
parser.add_argument(
- '-t', '--templatedir', dest='template',
+ '-t', '--template', dest='template',
default='generated.mako.cpp',
help='Location of mako template.')
OpenPOWER on IntegriCloud