Skip to content

Commit

Permalink
lxc/storage_volume: Fix lxc storage volume snapshot command descrip…
Browse files Browse the repository at this point in the history
…tion

The command is `lxc storage volume snapshot <pool> <volume>` not `lxc
storage volume snapshot create <pool> <volume>`

Signed-off-by: Kadin Sayani <[email protected]>
  • Loading branch information
kadinsayani committed Dec 18, 2024
1 parent 4224d01 commit 2f53f43
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lxc/storage_volume.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2f53f43

Please sign in to comment.