summaryrefslogtreecommitdiffstats
path: root/tools/pvscan.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/pvscan.c')
-rw-r--r--tools/pvscan.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/pvscan.c b/tools/pvscan.c
index be5dc849..cca079c8 100644
--- a/tools/pvscan.c
+++ b/tools/pvscan.c
@@ -152,6 +152,7 @@ int pvscan(struct cmd_context *cmd, int argc, char **argv)
return EINVALID_CMD_LINE;
}
+ if (arg_count(cmd, exported_ARG) || arg_count(cmd, novolumegroup_ARG))
log_warn("WARNING: only considering physical volumes %s",
arg_count(cmd, exported_ARG) ?
"of exported volume group(s)" : "in no volume group");