Explicitly let the user know about the unknown volume name.
---
tools/virsh-pool.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/virsh-pool.c b/tools/virsh-pool.c
index b8fc8d7..592b81f 100644
--- a/tools/virsh-pool.c
+++ b/tools/virsh-pool.c
@@ -1000,7 +1000,7 @@ cmdPoolList(vshControl *ctl, const vshCmd *cmd ATTRIBUTE_UNUSED)
for (i = 0; i < npoolTypes; i++) {
if ((poolType = virStoragePoolTypeFromString(poolTypes[i])) < 0) {
- vshError(ctl, "%s", _("Invalid pool type"));
+ vshError(ctl, _("Invalid pool type '%s'"),
poolTypes[i]);
virStringFreeList(poolTypes);
return false;
}
--
1.8.3.2