From 791ef834f50ca82507e74398efee7098596b3671 Mon Sep 17 00:00:00 2001 From: Clemens Vasters Date: Wed, 3 Apr 2024 19:38:07 +0200 Subject: [PATCH] params Signed-off-by: Clemens Vasters --- avrotize/avrotize.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/avrotize/avrotize.py b/avrotize/avrotize.py index b544da2..aff4d27 100644 --- a/avrotize/avrotize.py +++ b/avrotize/avrotize.py @@ -49,19 +49,19 @@ def main(): a2k_parser.add_argument('--avsc', type=str, help='Path to the Avro schema file', required=True) a2k_parser.add_argument('--kusto', type=str, help='Path to the Kusto table', required=True) a2k_parser.add_argument('--record-type', type=str, help='Record type in the Avro schema', required=False) - a2k_parser.add_argument('--emit_cloudevents_columns', action='store_true', help='Add CloudEvents columns to the Kusto table', default=False) + a2k_parser.add_argument('--emit-cloudevents-columns', action='store_true', help='Add CloudEvents columns to the Kusto table', default=False) a2tsql_parser = subparsers.add_parser('a2tsql', help='Convert Avro schema to T-SQL schema') a2tsql_parser.add_argument('--avsc', type=str, help='Path to the Avro schema file', required=True) a2tsql_parser.add_argument('--tsql', type=str, help='Path to the T-SQL table', required=True) a2tsql_parser.add_argument('--record-type', type=str, help='Record type in the Avro schema', required=False) - a2tsql_parser.add_argument('--emit_cloudevents_columns', action='store_true', help='Add CloudEvents columns to the T-SQL table', default=False) + a2tsql_parser.add_argument('--emit-cloudevents-columns', action='store_true', help='Add CloudEvents columns to the T-SQL table', default=False) a2pq_parser = subparsers.add_parser('a2pq', help='Convert Avro schema to Parquet schema') a2pq_parser.add_argument('--avsc', type=str, help='Path to the Avro schema file', required=True) a2pq_parser.add_argument('--parquet', type=str, help='Path to the Parquet file', required=True) a2pq_parser.add_argument('--record-type', type=str, help='Record type in the Avro schema', required=False) - a2pq_parser.add_argument('--emit_cloudevents_columns', action='store_true', help='Add CloudEvents columns to the Parquet file', default=False) + a2pq_parser.add_argument('--emit-cloudevents-columns', action='store_true', help='Add CloudEvents columns to the Parquet file', default=False) asn2a_parser = subparsers.add_parser('asn2a', help='Convert ASN.1 schema to Avro schema') asn2a_parser.add_argument('--asn', type=str, nargs='+', help='Path(s) to the ASN.1 schema file(s)', required=True)