vzdump: fixup style for multi-line literal strings

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2023-11-21 13:29:43 +01:00
parent e5278e9827
commit 06c318c45e

View File

@ -132,15 +132,15 @@ my $confdesc = {
},
pigz=> {
type => "integer",
description => "Use pigz instead of gzip when N>0.".
" N=1 uses half of cores, N>1 uses N as thread count.",
description => "Use pigz instead of gzip when N>0. N=1 uses half of cores, N>1 uses N as"
." thread count.",
optional => 1,
default => 0,
},
zstd => {
type => "integer",
description => "Zstd threads. N=0 uses half of the available cores,".
" N>0 uses N as thread count.",
description => "Zstd threads. N=0 uses half of the available cores, if N is set to a value"
." bigger than 0, N is used as thread count.",
optional => 1,
default => 1,
},
@ -164,9 +164,9 @@ my $confdesc = {
},
'exclude-path' => {
type => 'array',
description => "Exclude certain files/directories (shell globs)." .
" Paths starting with '/' are anchored to the container's root, " .
" other paths match relative to each subdirectory.",
description => "Exclude certain files/directories (shell globs). Paths starting with '/'"
." are anchored to the container's root, other paths match relative to each"
." subdirectory.",
optional => 1,
items => {
type => 'string',
@ -175,9 +175,8 @@ my $confdesc = {
mailto => {
type => 'string',
format => 'email-or-username-list',
description => "Deprecated: Use notification targets/matchers instead." .
" Comma-separated list of email addresses or users that should" .
" receive email notifications.",
description => "Deprecated: Use notification targets/matchers instead. Comma-separated list"
." of email addresses or users that should receive email notifications.",
optional => 1,
},
mailnotification => {
@ -190,14 +189,12 @@ my $confdesc = {
},
'notification-mode' => {
type => 'string',
description => "Determine which notification system to use." .
" If set to 'legacy-sendmail', vzdump will consider the" .
" mailto/mailnotification parameters and send emails to the" .
" specified address(es) via the 'sendmail' command." .
" If set to 'notification-system', a notification will be sent via PVE's" .
" notification system and mailto/mailnotification will be ignored" .
" If set to 'auto' (default setting), an email will be sent if " .
" mailto is set, and the notification system will be used if not.",
description => "Determine which notification system to use. If set to 'legacy-sendmail',"
." vzdump will consider the mailto/mailnotification parameters and send emails to the"
." specified address(es) via the 'sendmail' command. If set to 'notification-system',"
." a notification will be sent via PVE's notification system, and the mailto and"
." mailnotification will be ignored. If set to 'auto' (default setting), an email will"
." be sent if mailto is set, and the notification system will be used if not.",
optional => 1,
enum => ['auto', 'legacy-sendmail', 'notification-system'],
default => 'auto',
@ -305,11 +302,11 @@ my $confdesc = {
},
'notes-template' => {
type => 'string',
description => "Template string for generating notes for the backup(s). It can contain ".
"variables which will be replaced by their values. Currently supported are ".
"{{cluster}}, {{guestname}}, {{node}}, and {{vmid}}, but more might be added in the ".
"future. Needs to be a single line, newline and backslash need to be escaped as '\\n' ".
"and '\\\\' respectively.",
description => "Template string for generating notes for the backup(s). It can contain"
." variables which will be replaced by their values. Currently supported are"
." {{cluster}}, {{guestname}}, {{node}}, and {{vmid}}, but more might be added in the"
." future. Needs to be a single line, newline and backslash need to be escaped as '\\n'"
." and '\\\\' respectively.",
requires => 'storage',
maxLength => 1024,
optional => 1,