@@ -194,14 +194,14 @@ def add_parser(subparsers, parent_parser):
194
194
"-t" ,
195
195
"--type" ,
196
196
help = (
197
- "Type of metrics (json/tsv/htsv/csv/hcsv ). "
197
+ "Type of metrics (json/yaml ). "
198
198
"It can be detected by the file extension automatically. "
199
199
"Unsupported types will be treated as raw."
200
200
),
201
201
metavar = "<type>" ,
202
202
)
203
203
metrics_show_parser .add_argument (
204
- "-x" , "--xpath" , help = "json/tsv/htsv/csv/hcsv path." , metavar = "<path>" ,
204
+ "-x" , "--xpath" , help = "json/yaml path." , metavar = "<path>" ,
205
205
)
206
206
metrics_show_parser .add_argument (
207
207
"-a" ,
@@ -244,13 +244,10 @@ def add_parser(subparsers, parent_parser):
244
244
formatter_class = argparse .RawDescriptionHelpFormatter ,
245
245
)
246
246
metrics_add_parser .add_argument (
247
- "-t" ,
248
- "--type" ,
249
- help = "Type of metrics (raw/json/tsv/htsv/csv/hcsv)." ,
250
- metavar = "<type>" ,
247
+ "-t" , "--type" , help = "Type of metrics (json/yaml)." , metavar = "<type>" ,
251
248
)
252
249
metrics_add_parser .add_argument (
253
- "-x" , "--xpath" , help = "json/tsv/htsv/csv/hcsv path." , metavar = "<path>" ,
250
+ "-x" , "--xpath" , help = "json/yaml path." , metavar = "<path>" ,
254
251
)
255
252
metrics_add_parser .add_argument ("path" , help = "Path to a metric file." )
256
253
metrics_add_parser .set_defaults (func = CmdMetricsAdd )
@@ -264,13 +261,10 @@ def add_parser(subparsers, parent_parser):
264
261
formatter_class = argparse .RawDescriptionHelpFormatter ,
265
262
)
266
263
metrics_modify_parser .add_argument (
267
- "-t" ,
268
- "--type" ,
269
- help = "Type of metrics (raw/json/tsv/htsv/csv/hcsv)." ,
270
- metavar = "<type>" ,
264
+ "-t" , "--type" , help = "Type of metrics (json/yaml)." , metavar = "<type>" ,
271
265
)
272
266
metrics_modify_parser .add_argument (
273
- "-x" , "--xpath" , help = "json/tsv/htsv/csv/hcsv path." , metavar = "<path>" ,
267
+ "-x" , "--xpath" , help = "json/yaml path." , metavar = "<path>" ,
274
268
)
275
269
metrics_modify_parser .add_argument ("path" , help = "Path to a metric file." )
276
270
metrics_modify_parser .set_defaults (func = CmdMetricsModify )
@@ -316,14 +310,14 @@ def add_parser(subparsers, parent_parser):
316
310
"-t" ,
317
311
"--type" ,
318
312
help = (
319
- "Type of metrics (json/tsv/htsv/csv/hcsv ). "
313
+ "Type of metrics (json/yaml ). "
320
314
"It can be detected by the file extension automatically. "
321
315
"Unsupported types will be treated as raw."
322
316
),
323
317
metavar = "<type>" ,
324
318
)
325
319
metrics_diff_parser .add_argument (
326
- "-x" , "--xpath" , help = "json/tsv/htsv/csv/hcsv path." , metavar = "<path>" ,
320
+ "-x" , "--xpath" , help = "json/yaml path." , metavar = "<path>" ,
327
321
)
328
322
metrics_diff_parser .add_argument (
329
323
"-R" ,
0 commit comments