From d2ff4f1af2abd60a64ad08d0b037ba1d0a033a08 Mon Sep 17 00:00:00 2001 From: Canop Date: Sun, 20 Feb 2022 19:12:12 +0100 Subject: align the filesystem column to the left --- CHANGELOG.md | 7 ++++++- Cargo.lock | 2 +- Cargo.toml | 2 +- src/col.rs | 2 +- website/docs/img/rows-all.png | Bin 101516 -> 103573 bytes 5 files changed, 9 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index fb3f533..01487ba 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ + + +### v2.0.1 - 2022/02/20 +- align filesystem column to the left + -### v2.0.0 - 2022/01/06 +### v2.0.0 - 2022/02/20 - It's now possible to set the columns with the `--cols` launch argument - default column set has changed - `--inodes` and `--label` have been removed (to see for example lables, use `lfs -c +label`) diff --git a/Cargo.lock b/Cargo.lock index cd15abf..7060e2d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -243,7 +243,7 @@ checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" [[package]] name = "lfs" -version = "2.0.0" +version = "2.0.1" dependencies = [ "argh", "crossterm", diff --git a/Cargo.toml b/Cargo.toml index 2b49c50..e0e604b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "lfs" -version = "2.0.0" +version = "2.0.1" authors = ["dystroy "] edition = "2021" keywords = ["linux", "filesystem", "fs"] diff --git a/src/col.rs b/src/col.rs index bc24f3e..11bb8f9 100644 --- a/src/col.rs +++ b/src/col.rs @@ -86,7 +86,7 @@ impl Col { match self { Self::Id => Alignment::Right, Self::Dev => Alignment::Center, - Self::Filesystem => Alignment::Center, + Self::Filesystem => Alignment::Left, Self::Label => Alignment::Left, Self::Disk => Alignment::Center, Self::Type => Alignment::Center, diff --git a/website/docs/img/rows-all.png b/website/docs/img/rows-all.png index 1a7ff4c..4a0f3a7 100644 Binary files a/website/docs/img/rows-all.png and b/website/docs/img/rows-all.png differ -- cgit v1.2.3