Skip to contentSkip to conversation

Remove -n argument from vgcfgrestore.

PATCH New Milan Broz 1 participant 1 message Apr 20, 2010

lore
Share & tools
lore

Milan Broz

author
#0 lore raw

PATCH 1/1 Remove -n argument from vgcfgrestore.

This is old lvm1 syntax, because arguments changed frpm PVs to VGs compatibility is broken already.

name_ARG is not used in code.

---
 tools/commands.h |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
tools/commands.h +1 -2
index 5e44cb2..7d0185b 100644
@@ -688,14 +688,13 @@ xx(vgcfgrestore,
    "\t[-f|--file filename] " "\n"
    "\t[-l[l]|--list [--list]]" "\n"
    "\t[-M|--metadatatype 1|2]" "\n"
-   "\t[-n|--name VolumeGroupName] " "\n"
    "\t[-h|--help]" "\n"
    "\t[-t|--test] " "\n"
    "\t[-v|--verbose]" "\n"
    "\t[--version] " "\n"
    "\tVolumeGroupName",
 
-   file_ARG, list_ARG, metadatatype_ARG, name_ARG, test_ARG)
+   file_ARG, list_ARG, metadatatype_ARG, test_ARG)
 
 xx(vgchange,
    "Change volume group attributes",
Signature · 1 line
1.7.0.4