From 1ab66f37aef7c41afdfd0ea540c79e89c825e708 Mon Sep 17 00:00:00 2001 From: Zdenek Kabelac Date: Thu, 2 May 2024 11:11:53 +0200 Subject: [PATCH] command-lines: improve spec for thin snapshot man-generate --check actually noticed 2 same definitions for snapshot create with 'lvreate -T [--snapshot]' and 'lvcreate --snapshot [-T]'. So drop the '-T' from second alternative variant as thin type is already implied here. --- tools/command-lines.in | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tools/command-lines.in b/tools/command-lines.in index 961a4ec4d..17e7712a2 100644 --- a/tools/command-lines.in +++ b/tools/command-lines.in @@ -1135,7 +1135,9 @@ AUTOTYPE: thin # alternate form of lvcreate --type thin lvcreate --snapshot LV_thin -OO: --thin, OO_LVCREATE +# not providing implied --thin option with this OO +# so we have 2 different command variant +OO: OO_LVCREATE IO: --mirrors 0 ID: lvcreate_thin_snapshot DESC: Create a thin LV that is a snapshot of an existing thin LV.