[pve-devel] [PATCH storage 2/2] prune-backups: improve command description

Fabian Ebner f.ebner at proxmox.com
Mon Aug 31 10:48:02 CEST 2020


This is shown in the man page, so it's not important to mention
that this is a wrapper. Also mention the fact that the keep options
from the storage configuration serve as a fallback, which was previously
mentioned in the description of the (now removed) prune-backups parameter.

Signed-off-by: Fabian Ebner <f.ebner at proxmox.com>
---
 PVE/CLI/pvesm.pm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/PVE/CLI/pvesm.pm b/PVE/CLI/pvesm.pm
index d7591ee..a2246cc 100755
--- a/PVE/CLI/pvesm.pm
+++ b/PVE/CLI/pvesm.pm
@@ -737,7 +737,8 @@ __PACKAGE__->register_method ({
     name => 'prunebackups',
     path => 'prunebackups',
     method => 'GET',
-    description => "Prune backups. This is only a wrapper for the proper API endpoints.",
+    description => "Prune backups. Only those using the standard naming scheme are considered. " .
+		   "If no keep options are specified, those from the storage configuration are used.",
     protected => 1,
     proxyto => 'node',
     parameters => {
-- 
2.20.1






More information about the pve-devel mailing list