public inbox for pbs-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: Thomas Lamprecht <t.lamprecht@proxmox.com>
To: "Proxmox Backup Server development discussion"
	<pbs-devel@lists.proxmox.com>,
	"Laurențiu Leahu-Vlăducu" <l.leahu-vladucu@proxmox.com>
Subject: Re: [pbs-devel] [PATCH proxmox] proxmox-router: Improve CLI text output when printing empty lists
Date: Fri, 24 Jan 2025 09:26:48 +0100	[thread overview]
Message-ID: <ef84d69b-d7de-45e6-a62c-5e7999059bfe@proxmox.com> (raw)
In-Reply-To: <20250122131400.157635-1-l.leahu-vladucu@proxmox.com>

Am 22.01.25 um 14:14 schrieb Laurențiu Leahu-Vlăducu:
> CLI tools that use '--output-format text' and print empty lists now
> show a 'No results' message. Previously, this was sometimes confusing
> because nothing was printed.

I get where you come from with this but "No result" might be interpreted
as error-like message by some though?
And not sure how popular such an approach is, most standard CLI tools
do not print anything if the result is empty, e.g. `ls` on an emtpy dir
also outputs nothing. Are there any user requests/feedback on this?


_______________________________________________
pbs-devel mailing list
pbs-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pbs-devel

  reply	other threads:[~2025-01-24  8:27 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-01-22 13:14 Laurențiu Leahu-Vlăducu
2025-01-24  8:26 ` Thomas Lamprecht [this message]
2025-01-24  8:58   ` Laurențiu Leahu-Vlăducu
2025-01-24  9:13     ` 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=ef84d69b-d7de-45e6-a62c-5e7999059bfe@proxmox.com \
    --to=t.lamprecht@proxmox.com \
    --cc=l.leahu-vladucu@proxmox.com \
    --cc=pbs-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