diff options
-rw-r--r-- | cli/src/cli-cmd-parser.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cli/src/cli-cmd-parser.c b/cli/src/cli-cmd-parser.c index 0b9f38bdb0b..7c02e1f0562 100644 --- a/cli/src/cli-cmd-parser.c +++ b/cli/src/cli-cmd-parser.c @@ -83,8 +83,10 @@ cli_cmd_volume_create_parse (const char **words, int wordcount, dict_t **options if (volname[0] == '-') goto out; - if (!strcmp (volname, "all")) + if (!strcmp (volname, "all")) { + cli_out ("\"all\" cannot be the name of a volume."); goto out; + } if (strchr (volname, '/')) goto out; |