From e6b6a09f90f53a5cea3a712b2b84af57f4514a02 Mon Sep 17 00:00:00 2001 From: Peter Rajnoha Date: Fri, 26 Aug 2022 12:17:45 +0200 Subject: args: add ARG_NONINTERACTIVE for cmds not supported in lvm shell Certain args can't be used in lvm shell ("interactive mode") because they are not supported there. Add ARG_NONINTERACTIVE flag to mark such args and error out if we're in interactive mode and at the same time we detect use of such argument. Currently, this is the case for --reportformat arg - we don't support changing the format per command in lvm shell. The whole shell is running under a reportformat chosen at shell's start. --- WHATS_NEW | 1 + 1 file changed, 1 insertion(+) (limited to 'WHATS_NEW') diff --git a/WHATS_NEW b/WHATS_NEW index 90dd417b1..9e7cd1f0c 100644 --- a/WHATS_NEW +++ b/WHATS_NEW @@ -1,5 +1,6 @@ Version 2.03.17 - =============================== + Error out in lvm shell if using a cmd argument not supported in the shell. Fix lvm shell's lastlog command to report previous pre-command failures. Extend VDO and VDOPOOL without flushing and locking fs. Add --valuesonly option to lvmconfig to print only values without keys. -- cgit v1.2.1