summaryrefslogtreecommitdiffstats
path: root/tools/pvscan.c
diff options
context:
space:
mode:
authorAlasdair Kergon <agk@redhat.com>2012-03-02 18:09:46 +0000
committerAlasdair Kergon <agk@redhat.com>2012-03-02 18:09:46 +0000
commitd742cdf32713726d3c170c59846073d951a76a6f (patch)
treeb4f34b4c44d62e2b507cdda1b56ba14c57cf0f27 /tools/pvscan.c
parent7e35dfff3d556e0157fe5e2ed18b6123ebc4ba34 (diff)
downloadlvm2-d742cdf32713726d3c170c59846073d951a76a6f.tar.gz
lvm2-d742cdf32713726d3c170c59846073d951a76a6f.tar.xz
lvm2-d742cdf32713726d3c170c59846073d951a76a6f.zip
Change pvscan --lvmetad to pvscan --cache.
Diffstat (limited to 'tools/pvscan.c')
-rw-r--r--tools/pvscan.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/pvscan.c b/tools/pvscan.c
index 3a7c8ba9..be5dc849 100644
--- a/tools/pvscan.c
+++ b/tools/pvscan.c
@@ -104,7 +104,7 @@ static int _pvscan_lvmetad(struct cmd_context *cmd, int argc, char **argv)
int ret = ECMD_PROCESSED;
if (!argc) {
- log_error("List of Physical Volumes to tell lvmetad to cache required.");
+ log_error("List of Physical Volumes to be cached by the lvmetad daemon required.");
return EINVALID_CMD_LINE;
}
@@ -144,7 +144,7 @@ int pvscan(struct cmd_context *cmd, int argc, char **argv)
pv_max_name_len = 0;
vg_max_name_len = 0;
- if (arg_count(cmd, lvmetad_ARG))
+ if (arg_count(cmd, cache_ARG))
return _pvscan_lvmetad(cmd, argc, argv);
if (arg_count(cmd, novolumegroup_ARG) && arg_count(cmd, exported_ARG)) {