From 2f53f4398a66ef67e849f2309fa94119b6faa38b Mon Sep 17 00:00:00 2001 From: Kadin Sayani Date: Tue, 17 Dec 2024 17:05:01 -0700 Subject: [PATCH] lxc/storage_volume: Fix `lxc storage volume snapshot` command description The command is `lxc storage volume snapshot ` not `lxc storage volume snapshot create ` Signed-off-by: Kadin Sayani --- lxc/storage_volume.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lxc/storage_volume.go b/lxc/storage_volume.go index a9f94bf08757..50bb6676b315 100644 --- a/lxc/storage_volume.go +++ b/lxc/storage_volume.go @@ -2427,10 +2427,10 @@ func (c *cmdStorageVolumeSnapshot) command() *cobra.Command { cmd.Short = i18n.G("Snapshot storage volumes") cmd.Long = cli.FormatSection(i18n.G("Description"), i18n.G( `Snapshot storage volumes`)) - cmd.Example = cli.FormatSection("", i18n.G(`lxc storage volume snapshot create default v1 snap0 + cmd.Example = cli.FormatSection("", i18n.G(`lxc storage volume snapshot default v1 snap0 Create a snapshot of "v1" in pool "default" called "snap0". -lxc storage volume snapshot create default v1 snap0 < config.yaml +lxc storage volume snapshot default v1 snap0 < config.yaml Create a snapshot of "v1" in pool "default" called "snap0" with the configuration from "config.yaml".`)) cmd.RunE = c.run