From f8d4eff923317a45d9225c5a56f210b6e375138b Mon Sep 17 00:00:00 2001 From: Stoiko Ivanov Date: Mon, 18 Jun 2018 10:18:00 +0200 Subject: [PATCH] add print_width property to JSONSchema definition used to define the maximal width of the respective column in the CLI Signed-off-by: Stoiko Ivanov --- src/PVE/JSONSchema.pm | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/PVE/JSONSchema.pm b/src/PVE/JSONSchema.pm index f014dc3..2865d1a 100644 --- a/src/PVE/JSONSchema.pm +++ b/src/PVE/JSONSchema.pm @@ -1139,6 +1139,11 @@ my $default_schema_noref = { }, }, }, + print_width => { + type => "integer", + description => "For CLI context, this defines the maximal width to print before truncating", + optional => 1, + }, } }; -- 2.39.2