Skip to content

Commit

Permalink
table: rename inode-related columns to clarify difference between byt…
Browse files Browse the repository at this point in the history
…es and inodes. Fixes #94
  • Loading branch information
mrngm authored and muesli committed Feb 1, 2022
1 parent dfb7279 commit 161737c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions table.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ type Column struct {
}

var (
// "Mounted on", "Size", "Used", "Avail", "Use%", "Inodes", "Used", "Avail", "Use%", "Type", "Filesystem"
// "Mounted on", "Size", "Used", "Avail", "Use%", "Inodes", "IUsed", "IAvail", "IUse%", "Type", "Filesystem"
// mountpoint, size, used, avail, usage, inodes, inodes_used, inodes_avail, inodes_usage, type, filesystem
columns = []Column{
{ID: "mountpoint", Name: "Mounted on", SortIndex: 1},
Expand All @@ -35,9 +35,9 @@ var (
{ID: "avail", Name: "Avail", SortIndex: 14, Width: 7},
{ID: "usage", Name: "Use%", SortIndex: 15, Width: 6},
{ID: "inodes", Name: "Inodes", SortIndex: 16, Width: 7},
{ID: "inodes_used", Name: "Used", SortIndex: 17, Width: 7},
{ID: "inodes_avail", Name: "Avail", SortIndex: 18, Width: 7},
{ID: "inodes_usage", Name: "Use%", SortIndex: 19, Width: 6},
{ID: "inodes_used", Name: "IUsed", SortIndex: 17, Width: 7},
{ID: "inodes_avail", Name: "IAvail", SortIndex: 18, Width: 7},
{ID: "inodes_usage", Name: "IUse%", SortIndex: 19, Width: 6},
{ID: "type", Name: "Type", SortIndex: 10},
{ID: "filesystem", Name: "Filesystem", SortIndex: 11},
}
Expand Down

0 comments on commit 161737c

Please sign in to comment.