# HG changeset patch # User Chris Cannam # Date 1441123532 -3600 # Node ID 1cc96e03a903c36f2f9496532fff616c85a22b80 # Parent 50210da3997c9e7e1832823d7e3a8e1188d98fc3 Add mandatory option --json-format to JSON feature writer, in preparation for supporting multiple JSON formats (perhaps) in future diff -r 50210da3997c -r 1cc96e03a903 transform/FeatureWriter.h --- a/transform/FeatureWriter.h Tue Sep 01 15:51:07 2015 +0100 +++ b/transform/FeatureWriter.h Tue Sep 01 17:05:32 2015 +0100 @@ -42,9 +42,11 @@ virtual string getDescription() const = 0; struct Parameter { // parameter of the writer, not the plugin + Parameter() : hasArg(false), mandatory(false) { } string name; string description; bool hasArg; + bool mandatory; }; typedef vector ParameterList; virtual ParameterList getSupportedParameters() const {