Auto merge of #68 - matthiasbeyer:update-prettytable, r=matthiasbeyer
prettytable-rs: 0.4.0 -> 0.5.1 Update dependency.
This commit is contained in:
commit
502ba8b7fc
3 changed files with 5 additions and 5 deletions
4
Cargo.lock
generated
4
Cargo.lock
generated
|
@ -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)",
|
||||
|
|
|
@ -26,7 +26,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"
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue