diff options
author | Michael Adam <obnox@redhat.com> | 2017-12-12 12:29:07 +0100 |
---|---|---|
committer | Michael Adam <obnox@redhat.com> | 2017-12-12 19:03:51 +0100 |
commit | 566627a3d3c91b3359f1da5fda00d528e18aae37 (patch) | |
tree | d34f0bf2b3436d1debf616c2acef735feaa45220 /cli/gluster-block.c | |
parent | 019db978d82d850925abaf2651b4ef549ec0f987 (diff) |
cli: Be more strict about what size units we expect.
Only accept b,B,k(iB),K(iB),M(iB),G(iB),T(iB),...
Fail on all other with an improved error message.
Resolves: https://github.com/gluster/gluster-block/issues/44
Change-Id: I6ac7e9359f3b8d8afaad254ea12c30131ed676d8
Signed-off-by: Michael Adam <obnox@redhat.com>
Diffstat (limited to 'cli/gluster-block.c')
0 files changed, 0 insertions, 0 deletions