Skip to content

Commit

Permalink
lxc/storage_volume: Fix usage strings
Browse files Browse the repository at this point in the history
Signed-off-by: Stéphane Graber <[email protected]>
  • Loading branch information
stgraber committed Jun 15, 2022
1 parent ab15dd6 commit d3944cf
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 @@ -325,7 +325,7 @@ type cmdStorageVolumeCopy struct {

func (c *cmdStorageVolumeCopy) Command() *cobra.Command {
cmd := &cobra.Command{}
cmd.Use = usage("copy", i18n.G("<pool>/<volume>[/<snapshot>] <pool>/<volume>"))
cmd.Use = usage("copy", i18n.G("[<remote>:]<pool>/<volume>[/<snapshot>] [<remote>:]<pool>/<volume>"))
cmd.Aliases = []string{"cp"}
cmd.Short = i18n.G("Copy storage volumes")
cmd.Long = cli.FormatSection(i18n.G("Description"), i18n.G(
Expand Down Expand Up @@ -1524,7 +1524,7 @@ type cmdStorageVolumeMove struct {

func (c *cmdStorageVolumeMove) Command() *cobra.Command {
cmd := &cobra.Command{}
cmd.Use = usage("move", i18n.G("<pool>/<volume> <pool>/<volume>"))
cmd.Use = usage("move", i18n.G("[<remote>:]<pool>/<volume> [<remote>:]<pool>/<volume>"))
cmd.Aliases = []string{"mv"}
cmd.Short = i18n.G("Move storage volumes between pools")
cmd.Long = cli.FormatSection(i18n.G("Description"), i18n.G(
Expand Down

0 comments on commit d3944cf

Please sign in to comment.