From 24a6d4fd825993fccc5c1f050e1acfba97478a8a Mon Sep 17 00:00:00 2001 From: Christian Ebner Date: Tue, 18 Mar 2025 12:11:34 +0100 Subject: [PATCH] client: align description for backup specification to docs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Adapt the description for the backup specification to use `archive-name` and `type` over `label` and `ext`, to be in line with the terminology used in the documentation. Further, explicitley describe the `path` as `source-path` to be less ambigouos. In order to avoid formatting issues in the man pages because of line breaks after a hyphen, show the backup specification description in multiple lines. Suggested-by: Fabian Grünbichler Signed-off-by: Christian Ebner --- pbs-client/src/backup_specification.rs | 5 +++-- proxmox-backup-client/src/main.rs | 7 ++++--- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/pbs-client/src/backup_specification.rs b/pbs-client/src/backup_specification.rs index e44d23d9..e530d197 100644 --- a/pbs-client/src/backup_specification.rs +++ b/pbs-client/src/backup_specification.rs @@ -8,8 +8,9 @@ const_regex! { } pub const BACKUP_SOURCE_SCHEMA: Schema = StringSchema::new( - "Backup source specification ([