diff options
author | David Teigland <teigland@redhat.com> | 2022-04-06 12:29:26 -0500 |
---|---|---|
committer | David Teigland <teigland@redhat.com> | 2022-04-06 12:51:34 -0500 |
commit | fb7698b0ce47b965db056022cad712a965554f3a (patch) | |
tree | bbac231a31b407d349a5cb8a2cda540dcaa4ee1e /tools/args.h | |
parent | 151ce8b27672134438d0bc457f49123db96a176c (diff) | |
download | lvm2-fb7698b0ce47b965db056022cad712a965554f3a.tar.gz |
lvmdevices: --deldev using device id
When used with --deviceidtype, --deldev can specify
a device id to remove.
Diffstat (limited to 'tools/args.h')
-rw-r--r-- | tools/args.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/tools/args.h b/tools/args.h index 03fe24556..c4d8fe7ff 100644 --- a/tools/args.h +++ b/tools/args.h @@ -46,8 +46,12 @@ arg(addtag_ARG, '\0', "addtag", tag_VAL, ARG_GROUPABLE, 0, arg(adddev_ARG, '\0', "adddev", pv_VAL, 0, 0, "Add a device to the devices file.\n") -arg(deldev_ARG, '\0', "deldev", pv_VAL, 0, 0, - "Remove a device from the devices file.\n") + +arg(deldev_ARG, '\0', "deldev", string_VAL, 0, 0, + "Remove a device from the devices file.\n" + "When used alone, --deldev specifies a device name.\n" + "When used with --deviceidtype, --deldev specifies a device id.\n") + arg(addpvid_ARG, '\0', "addpvid", string_VAL, 0, 0, "Find a device with the PVID and add the device to the devices file.\n") arg(delpvid_ARG, '\0', "delpvid", string_VAL, 0, 0, |