diff options
author | Homu <homu@barosl.com> | 2016-01-07 04:03:29 +0900 |
---|---|---|
committer | Homu <homu@barosl.com> | 2016-01-07 04:03:29 +0900 |
commit | 72f72540056cfd7c6979af96249ee27147d5df1d (patch) | |
tree | 6a1b83c9535f9b3145dc2d83763e66181fcf3f92 /src/module/bm/mod.rs | |
parent | 9662678b30d210500f4620a0ccc8330b8c97b25e (diff) | |
parent | 24c150852c7a3f30c78f55097950d6fb4331c7ad (diff) |
Auto merge of #67 - matthiasbeyer:tableprinter-pretty, r=matthiasbeyer
Tableprinter pretty
Support for printing plain ASCII-Tables without borders and such.
Diffstat (limited to 'src/module/bm/mod.rs')
-rw-r--r-- | src/module/bm/mod.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/module/bm/mod.rs b/src/module/bm/mod.rs index 6f25bc8d..f0663290 100644 --- a/src/module/bm/mod.rs +++ b/src/module/bm/mod.rs @@ -130,7 +130,8 @@ impl<'a> BM<'a> { .load_for_module(self, &self.parser) .into_iter() .filter(|file| filter.filter_file(file)); - let printer = TablePrinter::new(self.rt.is_verbose(), self.rt.is_debugging()); + let pretty = matches.is_present("pretty"); + let printer = TablePrinter::new(self.rt.is_verbose(), self.rt.is_debugging(), pretty); printer.print_files_custom(files, &|file| { |