From db73302550e279ae9a5d0396c2d0f4d5481f4c2f Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Wed, 6 Jan 2016 19:59:45 +0100 Subject: [PATCH] prettytable-rs: 0.4.0 -> 0.5.1 --- Cargo.lock | 4 ++-- Cargo.toml | 2 +- src/ui/file.rs | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 3bd8502f..8f051926 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -11,7 +11,7 @@ dependencies = [ "itertools 0.4.5 (registry+https://github.com/rust-lang/crates.io-index)", "log 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)", "open 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)", - "prettytable-rs 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", + "prettytable-rs 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)", "rand 0.3.11 (registry+https://github.com/rust-lang/crates.io-index)", "regex 0.1.41 (registry+https://github.com/rust-lang/crates.io-index)", "serde 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)", @@ -167,7 +167,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] name = "prettytable-rs" -version = "0.4.0" +version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "term 0.2.12 (registry+https://github.com/rust-lang/crates.io-index)", diff --git a/Cargo.toml b/Cargo.toml index 909bb093..744edae0 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -23,7 +23,7 @@ serde_json = "0.6.0" clap = { version = "1.4.5", features = ["yaml"] } term_grid = "0.1.2" -prettytable-rs = "0.4.0" +prettytable-rs = "0.5.1" open = "1.1.0" itertools = "0.4.5" hoedown = "3.0.3" diff --git a/src/ui/file.rs b/src/ui/file.rs index ab9e7943..505c16ca 100644 --- a/src/ui/file.rs +++ b/src/ui/file.rs @@ -162,7 +162,7 @@ impl FilePrinter for TablePrinter { let mut tab = Table::new(); if !self.pretty { - let plain_format = TableFormat::new(' ', None, None); + let plain_format = TableFormat::new(None, None, None); debug!("Setting plain format for table"); tab.set_format(plain_format); } @@ -204,7 +204,7 @@ impl FilePrinter for TablePrinter { let mut tab = Table::new(); if !self.pretty { - let plain_format = TableFormat::new(' ', None, None); + let plain_format = TableFormat::new(None, None, None); debug!("Setting plain format for table"); tab.set_format(plain_format); }