Displaying 1 result from an estimated 1 matches for "need_print".
2013 Apr 11
0
[PATCH] Btrfs-progs: enhance 'btrfs subvolume list'
...++-
cmds-subvolume.c | 57 +++-----
man/btrfs.8.in | 19 +--
4 files changed, 339 insertions(+), 195 deletions(-)
diff --git a/btrfs-list.c b/btrfs-list.c
index 1246a25..b0d8d13 100644
--- a/btrfs-list.c
+++ b/btrfs-list.c
@@ -50,62 +50,151 @@ struct {
char *name;
char *column_name;
int need_print;
+ int width;
} btrfs_list_columns[] = {
{
.name = "ID",
.column_name = "ID",
.need_print = 0,
+ .width = 6,
},
{
.name = "gen",
.column_name = "Gen",
.need_print = 0,
+ .width = 6,
},
{
.name = "cgen",
.col...