mirror of
git://sourceware.org/git/lvm2.git
synced 2025-03-30 10:50:34 +03:00
dmstats: do not use "region_id" in error messages
Refer to either '--regionid' or '--allregions' when the user fails to specify either a single region ID or the --allregions switch.
This commit is contained in:
parent
6b81ac5807
commit
b3cd5d2945
@ -4216,7 +4216,7 @@ static int _stats_clear(CMD_ARGS)
|
||||
}
|
||||
|
||||
if (!_switches[REGION_ID_ARG] && !_switches[ALL_REGIONS_ARG]) {
|
||||
err("Please specify a region_id.");
|
||||
err("Please specify a --regionid or use --allregions.");
|
||||
return 0;
|
||||
}
|
||||
|
||||
@ -4499,7 +4499,7 @@ static int _stats_delete(CMD_ARGS)
|
||||
}
|
||||
|
||||
if (!_switches[REGION_ID_ARG] && !allregions) {
|
||||
err("Please specify a region_id.");
|
||||
err("Please specify a --regionid or use --allregions.");
|
||||
return 0;
|
||||
}
|
||||
|
||||
@ -4654,7 +4654,7 @@ static int _stats_print(CMD_ARGS)
|
||||
}
|
||||
|
||||
if (!_switches[REGION_ID_ARG] && !allregions) {
|
||||
err("Please specify a region_id.");
|
||||
err("Please specify a --regionid or use --allregions.");
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user