Skip to content
Myr

Change to export-markdown long opt, update help text

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Steve Pentland · committed by David Peter · parent 5602c17 · Browse files · 1 file+4 added−4 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+4 added−4 removed

  • other:+4 added−4 removed

1 file+4 added−4 removed

modified:src/main.rs+4 added-4 removed
151 unmodified lines
152 .value_name("FILE")153 .help("Export the timing results as JSON to the given FILE."),154 )155 .arg(156 Arg::with_name("export-md")157 .long("export-md")156 Arg::with_name("export-markdown")157 .long("export-markdown")158 .takes_value(true)159 .value_name("FILE")160 .help("Export the timing results to a markdown table in the given file"),160 .help("Export the timing results as a Markdown table to the given FILE."),161 )162 .help_message("Print this help message.")163 .version_message("Show version information.")164 .get_matches();
29 unmodified lines
194 }195 if let Some(filename) = matches.value_of("export-csv") {196 export_manager.add_exporter(ExportType::Csv, filename);197 }198 if let Some(filename) = matches.value_of("export-md") {198 if let Some(filename) = matches.value_of("export-markdown") {199 export_manager.add_exporter(ExportType::Markdown, filename);200 }201202 // We default Windows to NoColor if full had been specified.
28 unmodified lines