From 04e68e0d5a49be93f79d6d71821ab8cd0b0ce589 Mon Sep 17 00:00:00 2001 From: Stephen Finucane Date: Fri, 23 Sep 2022 18:00:34 +0100 Subject: quota: Add 'quota show --usage' option Provide an more sane way to get usage information for a particular project's quotas. This requires using the 'Lister' command type since the 'ShowOne' command type only allows for simple key-value pair output. We also add a note indicating that the '' argument is optional. Change-Id: Ic7342cf08f024cc690049414c5eef5b9a7594677 Signed-off-by: Stephen Finucane --- .../quota-show-usage-option-19b1f59fb5f3498f.yaml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 releasenotes/notes/quota-show-usage-option-19b1f59fb5f3498f.yaml (limited to 'releasenotes') diff --git a/releasenotes/notes/quota-show-usage-option-19b1f59fb5f3498f.yaml b/releasenotes/notes/quota-show-usage-option-19b1f59fb5f3498f.yaml new file mode 100644 index 00000000..b540edf4 --- /dev/null +++ b/releasenotes/notes/quota-show-usage-option-19b1f59fb5f3498f.yaml @@ -0,0 +1,18 @@ +--- +features: + - | + The ``quota show`` command now supports a ``--usage`` option. When + provided, this will result in the command returning usage information for + each quota. This replaces the ``quota list --detail`` command which is now + deprecated for removal. +deprecations: + - | + The ``--detail`` option for the ``quota list`` command has been deprecated + for removal. When used without the ``--detail`` option, the ``quota list`` + command returned quota information for multiple projects yet when used with + this option it only returned (detailed) quota information for a single + project. This detailed quota information is now available via the + ``quota show --usage`` command. + - | + The ``--project`` option for the ``quota list`` command has been deprecated + for removal. Use the ``quota show`` command instead. -- cgit v1.2.1