summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorVictor Chahuneau <vchahune@cs.cmu.edu>2012-09-05 19:47:07 +0100
committerVictor Chahuneau <vchahune@cs.cmu.edu>2012-09-05 19:47:07 +0100
commitdba6e87082501a66d8c444ebcd7ed6bd756aaf23 (patch)
tree7caff896e71b2ceb1c2d4213c9095e04a483dade /python
parentb939bff222736e87fa234c2835511cc29fce644f (diff)
[pycdec.sa] Fix the -f option specification
Diffstat (limited to 'python')
-rw-r--r--python/pkg/cdec/sa/extract.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/pkg/cdec/sa/extract.py b/python/pkg/cdec/sa/extract.py
index 3136c5a7..10a81556 100644
--- a/python/pkg/cdec/sa/extract.py
+++ b/python/pkg/cdec/sa/extract.py
@@ -45,7 +45,7 @@ def main():
help='number of parallel extractors')
parser.add_argument('-s', '--chunksize', type=int, default=10,
help='number of sentences / chunk')
- parser.add_argument('-f', '--features', action='append',
+ parser.add_argument('-f', '--features', nargs='*', default=[],
help='additional feature definitions')
args = parser.parse_args()