diff options
author | Bryn M. Reeves <bmr@redhat.com> | 2015-08-13 18:12:56 +0100 |
---|---|---|
committer | Bryn M. Reeves <bmr@redhat.com> | 2015-08-13 19:05:48 +0100 |
commit | b3cd5d294503fcfa4b826456e17071a909d739e1 (patch) | |
tree | 1119b64e19427435f1ce4db41f24ef12cfce5515 | |
parent | 6b81ac5807bdbfdd0063db4f53cc6d310c2fe4fc (diff) | |
download | lvm2-b3cd5d294503fcfa4b826456e17071a909d739e1.tar.gz |
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.
-rw-r--r-- | tools/dmsetup.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/dmsetup.c b/tools/dmsetup.c index 20ab3a089..1dcc7e3b8 100644 --- a/tools/dmsetup.c +++ b/tools/dmsetup.c @@ -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; } |