From: Stoiko Ivanov Date: Mon, 18 Jun 2018 08:18:00 +0000 (+0200) Subject: add print_width property to JSONSchema definition X-Git-Url: https://git.proxmox.com/?p=pve-common.git;a=commitdiff_plain;h=f8d4eff923317a45d9225c5a56f210b6e375138b;ds=sidebyside 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 --- 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, + }, } };