diff options
| -rw-r--r-- | cli/src/cli-cmd-parser.c | 4 | 
1 files changed, 4 insertions, 0 deletions
diff --git a/cli/src/cli-cmd-parser.c b/cli/src/cli-cmd-parser.c index aead5f42727..1449d62fa1f 100644 --- a/cli/src/cli-cmd-parser.c +++ b/cli/src/cli-cmd-parser.c @@ -1475,6 +1475,10 @@ cli_cmd_volume_top_parse (const char **words, int wordcount,                  goto out;          } +        if ((blk_size > 0) ^ (count > 0)) { +                ret = -1; +                goto out; +        }          *options = dict;  out:          if (ret && dict)  | 
