public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: Fabian Ebner <f.ebner@proxmox.com>
To: pve-devel@lists.proxmox.com
Subject: [pve-devel] [PATCH storage 2/2] prune-backups: improve command description
Date: Mon, 31 Aug 2020 10:48:02 +0200	[thread overview]
Message-ID: <20200831084802.25887-2-f.ebner@proxmox.com> (raw)
In-Reply-To: <20200831084802.25887-1-f.ebner@proxmox.com>

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@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





  reply	other threads:[~2020-08-31  8:48 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-31  8:48 [pve-devel] [PATCH storage 1/2] prune-backups CLI: use keep-options directly Fabian Ebner
2020-08-31  8:48 ` Fabian Ebner [this message]
2020-09-03 16:23 ` [pve-devel] applied-series: " Thomas Lamprecht

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200831084802.25887-2-f.ebner@proxmox.com \
    --to=f.ebner@proxmox.com \
    --cc=pve-devel@lists.proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal